<!DOCTYPE html>



  


<html class="theme-next gemini use-motion" lang="zh-Hans">
<head><meta name="generator" content="Hexo 3.8.0">
  <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="theme-color" content="#222">
<script>
    (function () {
        if ('') {
            if (prompt('请输入文章密码') !== '') {
                alert('密码错误！');
                if (history.length === 1) {
                    location.replace("https://google.com"); // 这里替换成你的首页
                } else {
                    history.back();
                }
            }
        }
    })();
</script>








<meta http-equiv="Cache-Control" content="no-transform">
<meta http-equiv="Cache-Control" content="no-siteapp">
















  
  
  <link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css">







<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css">

<link href="/css/main.css?v=5.1.4" rel="stylesheet" type="text/css">


  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png?v=5.1.4">


  <link rel="mask-icon" href="/images/logo.svg?v=5.1.4" color="#222">





  <meta name="keywords" content="Hexo, NexT">










<meta property="og:type" content="website">
<meta property="og:title" content="苏生不惑的博客">
<meta property="og:url" content="http://yoursite.com/page/11/index.html">
<meta property="og:site_name" content="苏生不惑的博客">
<meta property="og:locale" content="zh-Hans">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="苏生不惑的博客">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Gemini',
    version: '5.1.4',
    sidebar: {"position":"left","display":"post","offset":12,"b2t":false,"scrollpercent":false,"onmobile":false},
    fancybox: true,
    tabs: true,
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    duoshuo: {
      userId: '0',
      author: '博主'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="http://yoursite.com/page/11/">



<meta name="referrer" content="never"> ​​​​


  <title>苏生不惑的博客</title>
  








</head>

<body itemscope="" itemtype="http://schema.org/WebPage" lang="zh-Hans">

  
  
    
  

  <div class="container sidebar-position-left 
  page-home">
    <div class="headband"></div>

    <header id="header" class="header" itemscope="" itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/" class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">苏生不惑的博客</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <p class="site-subtitle"></p>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br>
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-about">
          <a href="/about/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-user"></i> <br>
            
            关于
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/archives/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br>
            
            归档
          </a>
        </li>
      

      
        <li class="menu-item menu-item-search">
          
            <a href="javascript:;" class="popup-trigger">
          
            
              <i class="menu-item-icon fa fa-search fa-fw"></i> <br>
            
            搜索
          </a>
        </li>
      
    </ul>
  

  
    <div class="site-search">
      
  <div class="popup search-popup local-search-popup">
  <div class="local-search-header clearfix">
    <span class="search-icon">
      <i class="fa fa-search"></i>
    </span>
    <span class="popup-btn-close">
      <i class="fa fa-times-circle"></i>
    </span>
    <div class="local-search-input-wrapper">
      <input autocomplete="off" placeholder="搜索..." spellcheck="false" type="text" id="local-search-input">
    </div>
  </div>
  <div id="local-search-result"></div>
</div>



    </div>
  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            
  <section id="posts" class="posts-expand">
    
      

  

  
  
  

  <article class="post post-type-normal" itemscope="" itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2020/11/27/百度网盘下载太慢？不限速的阿里云盘来了/">

    <span hidden itemprop="author" itemscope="" itemtype="http://schema.org/Person">
      <meta itemprop="name" content="苏生不惑">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="苏生不惑的博客">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
                
                <a class="post-title-link" href="/2020/11/27/百度网盘下载太慢？不限速的阿里云盘来了/" itemprop="url">百度网盘下载太慢？不限速的阿里云盘来了</a></h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2020-11-27T19:08:33+08:00">
                2020-11-27
              </time>
            

            

            
          </span>

          

          
            
          

          
          

          

          
            <div class="post-wordcount">
              
                
                  <span class="post-meta-divider">|</span>
                
                <span class="post-meta-item-icon">
                  <i class="fa fa-file-word-o"></i>
                </span>
                
                  <span class="post-meta-item-text">字数统计&#58;</span>
                
                <span title="字数统计">
                  679 字
                </span>
              

              
                <span class="post-meta-divider">|</span>
              

              
                <span class="post-meta-item-icon">
                  <i class="fa fa-clock-o"></i>
                </span>
                
                  <span class="post-meta-item-text">阅读时长 &asymp;</span>
                
                <span title="阅读时长">
                  2 分钟
                </span>
              
            </div>
          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <blockquote>
<p>苏生不惑第<code>196</code> 篇原创文章，将本公众号设为<code>星标</code>，第一时间看最新文章。</p>
</blockquote>
<p>说起百度网盘，最令人诟病的莫过于网盘限速，几k的下载速度让人抓狂，无奈的是我们还不得不用它，因为目前大家分享文件最多的还是用百度网盘链接，大家都在用，你就不得不用。</p>
<p>上个月在文章<a href="https://mp.weixin.qq.com/s/3tpmlHua_CFIFSjMhpZjuQ" target="_blank" rel="noopener">2020年10月最新免费加速下载百度网盘文件方法</a> 分享的高速下载油猴脚本现在也挂了，如今只剩下自定义提取码功能了（后续如有更新我在文章里说下）。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-782d2ec28993a00a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>不过最近百度网盘网页版上线了个收集文件功能 <a href="https://pan.baidu.com/disk/main#/transfer/list" target="_blank" rel="noopener">https://pan.baidu.com/disk/main#/transfer/list</a>  ，可以自己建分享链接，让好友把文件上传进去，不用担心网盘分享链接失效了，链接有效期最多30天。</p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-ddf7d1e9de960790.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>生成一个分享链接地址 。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-877c25cb56ea05ed.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>打开这个地址就能上传文件进去了。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-bb7922d0250cb60a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>在我的收集里就有了，以后求资源就生成一个分享链接，让对方把文件传到你的网盘。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-b7d009f80e9f4b84.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>之前提及过的阿里云盘 <a href="https://aliyundrive.com/" target="_blank" rel="noopener">https://aliyundrive.com/</a> 现在开放内测了，输入邀请码即可注册，我体验了下，下载速度还不错。</p>
<p>目前可用的邀请码有：3JNU3J ，COOLPY，YUNPAN，ADRIVE，86CK0X ，TU0YDH，BQBNQU，KJRPUR，WXC4YQ ，如果邀请次数超限了改天再试。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-fc49fb831e5cb84c.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>目前有安卓，ios，和网页版。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-62501a237f23fdcd.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>注册（需要下载APP注册）后默认空间有1.05T，不知道后续是否会升级。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-643364e8d6a509a4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-3ef4513af8933bc8.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>网页版上传速度4MB/s 。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-514bcbfae7ba4d1f.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>上传的电影转码后就能在线播放（支持倍速播放）。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-a3a8660c0ba09af0.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-2797c8ff4e26a0a0.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>下载也不用安装什么油猴脚本可以直接调用idm下载。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-583efdb1a6031b24.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>下载速度6MB/s还是很快的。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-bccf50e9f923caa5.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>300MB的电影很快就下载完了。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-c63e73aff3e7a5b9.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>APP端的下载速度4MB/s 。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-b91115c22dbff2cf.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>不过目前分享功能还没上线，期待下。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-733dd4cbac51ca22.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>最后分享个网站<a href="https://xbeibeix.com/api/189" target="_blank" rel="noopener">https://xbeibeix.com/api/189</a>  <a href="https://tmp.feilongproject.com/189cloud.html" target="_blank" rel="noopener">https://tmp.feilongproject.com/189cloud.html</a> （公众号后台回复 <code>网盘</code> 获取），不用登录天翼云盘即可不限速下载文件。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-3ca6e8a860e1b0b4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>最近文章：</p>
<p><a href="https://mp.weixin.qq.com/s/1PVwF-vtVizWSkiNXNkAkg" target="_blank" rel="noopener">不用写代码，Chrome 扩展神器 web scraper 抓取知乎热榜/话题/回答/专栏，豆瓣电影</a></p>
<p><a href="https://mp.weixin.qq.com/s/n9ddxx6Zu5hC7cqEXRnMOg" target="_blank" rel="noopener">视频下载神器：支持腾讯/优酷/爱奇艺/b站/微博等全网视频</a></p>
<p><a href="https://mp.weixin.qq.com/s/j88qrbHF9k-h7zrgfD87iw" target="_blank" rel="noopener">良心整理：PDF工具合集</a></p>
<p><a href="https://mp.weixin.qq.com/s/pt0hCthceThMZVU0Ht89AA" target="_blank" rel="noopener">2020 最全电子书搜索网站，找电子书不再愁</a></p>
<p><a href="https://mp.weixin.qq.com/s/Agh5EAgkd6__jq3J6CCNlA" target="_blank" rel="noopener">b 站账号快速升级到 Lv6：每天自动签到，观看，分享，投币视频 </a></p>
<p><a href="https://mp.weixin.qq.com/s/Zjhap47PGpIhQi79gkekCg" target="_blank" rel="noopener">集赞生成器：朋友圈集赞不求人</a></p>
<h3 id="公众号-苏生不惑"><a href="#公众号-苏生不惑" class="headerlink" title="公众号 苏生不惑"></a>公众号 苏生不惑</h3><p> <img src="https://upload-images.jianshu.io/upload_images/17817191-6e0079f95d4c0338.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="扫描二维码关注或搜索微信susheng_buhuo"></p>

          
        
      
    </div>
    
    
    

    

    

    

    <footer class="post-footer">
      

      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </div>
  
  
  
  </article>


    
      

  

  
  
  

  <article class="post post-type-normal" itemscope="" itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2020/11/20/不用写代码，Chrome-扩展神器-web-scraper-抓取知乎热榜-话题-回答-专栏，豆瓣电影/">

    <span hidden itemprop="author" itemscope="" itemtype="http://schema.org/Person">
      <meta itemprop="name" content="苏生不惑">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="苏生不惑的博客">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
                
                <a class="post-title-link" href="/2020/11/20/不用写代码，Chrome-扩展神器-web-scraper-抓取知乎热榜-话题-回答-专栏，豆瓣电影/" itemprop="url">不用写代码，Chrome 扩展神器 web scraper 抓取知乎热榜/话题/回答/专栏，豆瓣电影</a></h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2020-11-20T18:49:40+08:00">
                2020-11-20
              </time>
            

            

            
          </span>

          

          
            
          

          
          

          

          
            <div class="post-wordcount">
              
                
                  <span class="post-meta-divider">|</span>
                
                <span class="post-meta-item-icon">
                  <i class="fa fa-file-word-o"></i>
                </span>
                
                  <span class="post-meta-item-text">字数统计&#58;</span>
                
                <span title="字数统计">
                  1.9k 字
                </span>
              

              
                <span class="post-meta-divider">|</span>
              

              
                <span class="post-meta-item-icon">
                  <i class="fa fa-clock-o"></i>
                </span>
                
                  <span class="post-meta-item-text">阅读时长 &asymp;</span>
                
                <span title="阅读时长">
                  8 分钟
                </span>
              
            </div>
          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <blockquote>
<p>苏生不惑第<code>195</code> 篇原创文章，将本公众号设为<code>星标</code>，第一时间看最新文章。</p>
</blockquote>
<p>之前分享过<a href="https://mp.weixin.qq.com/s/6UrMYkJoQGhNS_JvCZYwWA" target="_blank" rel="noopener">不会 Python 没关系，手把手教你用 web scraper 抓取豆瓣电影 top 250 和 b 站排行榜</a> ，后来我又玩了下，这个插件还是挺有意思的，所以通过抓取知乎和豆瓣再总结分享下。</p>
<h3 id="知乎热榜"><a href="#知乎热榜" class="headerlink" title="知乎热榜"></a>知乎热榜</h3><p>知乎热榜地址 <a href="https://www.zhihu.com/hot" target="_blank" rel="noopener">https://www.zhihu.com/hot</a>  （其实知乎还有个单独的热榜页面<a href="https://www.zhihu.com/billboard" target="_blank" rel="noopener">https://www.zhihu.com/billboard</a> ），这里新增一个type <code>Element attribute</code> ，因为之前抓取豆瓣链接用的 link，它把文字也抓取了，而我们只要里面的href属性。</p>
<p>同样的先创建一个element的容器。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-18e11ee17b7f2f13.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>里面加4个选择器：知乎排名 ，知乎标题， 知乎链接 ，知乎热度 。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-5af1882718979e0a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>预览下数据没问题。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-24935e13fbd0455b.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>开始抓取数据并导出CSV文件。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-cfbf4b54ee671e9e.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>不过生成的CSV文件排序乱了  。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-09010d986c156d33.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>在排序和筛选里按照排名重新排下就好了（如果需要更复杂的排序可以借助Python的pandas），看最后的结果。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-acc96121f9326100.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>不过有个问题，热榜里的广告 <a href="https://www.zhihu.com/xen/market/ecom-page/1305179157022478336" target="_blank" rel="noopener">https://www.zhihu.com/xen/market/ecom-page/1305179157022478336</a> 没有热度，所以结果为null。<br>为了方便大家学习抓取，我导出了sitemap，你可以直接导入使用。<br><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">&#123;<span class="string">"_id"</span>:<span class="string">"zhihu_hot"</span>,<span class="string">"startUrl"</span>:[<span class="string">"https://www.zhihu.com/hot"</span>],<span class="string">"selectors"</span>:[&#123;<span class="string">"id"</span>:<span class="string">"知乎排名"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"内容容器"</span>],<span class="string">"selector"</span>:<span class="string">"div.HotItem-rank"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"知乎标题"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"内容容器"</span>],<span class="string">"selector"</span>:<span class="string">"h2"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"知乎链接"</span>,<span class="string">"type"</span>:<span class="string">"SelectorElementAttribute"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"内容容器"</span>],<span class="string">"selector"</span>:<span class="string">".HotItem-content a"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"extractAttribute"</span>:<span class="string">"href"</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"知乎热度"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"内容容器"</span>],<span class="string">"selector"</span>:<span class="string">"div.HotItem-metrics"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"内容容器"</span>,<span class="string">"type"</span>:<span class="string">"SelectorElement"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"_root"</span>],<span class="string">"selector"</span>:<span class="string">"section"</span>,<span class="string">"multiple"</span>:<span class="literal">true</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;]&#125;</span><br></pre></td></tr></table></figure></p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-6813b967bbca7647.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="知乎回答"><a href="#知乎回答" class="headerlink" title="知乎回答"></a>知乎回答</h3><p>这里以知乎日报的回答为例<br><a href="https://www.zhihu.com/org/zhi-hu-ri-bao-51-41/answers" target="_blank" rel="noopener">https://www.zhihu.com/org/zhi-hu-ri-bao-51-41/answers</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-3ab27631a502be51.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>需要注意知乎的回答需要点击阅读全文才能完全展示。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-5af6a554ed66b5d0.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>所以这里又增加个type <code>element click</code><br><img src="https://upload-images.jianshu.io/upload_images/23152173-af3c9b14782225a4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>里面有4个选择器：问题标题，赞同数，阅读全文，回答内容，回答链接。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-0e7d0a63274e249a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>看下抓取结果没问题。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-331fa72ff0a9867e.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>为了方便大家学习抓取，我导出了sitemap，你可以直接导入使用。<br><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">&#123;<span class="string">"_id"</span>:<span class="string">"zhihu_answer"</span>,<span class="string">"startUrl"</span>:[<span class="string">"https://www.zhihu.com/people/san-sheng-ruo-meng/answers"</span>],<span class="string">"selectors"</span>:[&#123;<span class="string">"id"</span>:<span class="string">"回答容器"</span>,<span class="string">"type"</span>:<span class="string">"SelectorElement"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"_root"</span>],<span class="string">"selector"</span>:<span class="string">"div.List-item"</span>,<span class="string">"multiple"</span>:<span class="literal">true</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"问题标题"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"回答容器"</span>],<span class="string">"selector"</span>:<span class="string">"[itemprop='zhihu:question'] a"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"赞同数"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"回答容器"</span>],<span class="string">"selector"</span>:<span class="string">"button.VoteButton--up"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"阅读全文"</span>,<span class="string">"type"</span>:<span class="string">"SelectorElementClick"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"回答容器"</span>],<span class="string">"selector"</span>:<span class="string">"button.ContentItem-more"</span>,<span class="string">"multiple"</span>:<span class="literal">true</span>,<span class="string">"delay"</span>:<span class="number">2000</span>,<span class="string">"clickElementSelector"</span>:<span class="string">"button.ContentItem-more"</span>,<span class="string">"clickType"</span>:<span class="string">"clickOnce"</span>,<span class="string">"discardInitialElements"</span>:<span class="string">"do-not-discard"</span>,<span class="string">"clickElementUniquenessType"</span>:<span class="string">"uniqueText"</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"回答内容"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"回答容器"</span>],<span class="string">"selector"</span>:<span class="string">"div.RichContent-inner"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"回答链接"</span>,<span class="string">"type"</span>:<span class="string">"SelectorElementAttribute"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"回答容器"</span>],<span class="string">"selector"</span>:<span class="string">"[itemprop='zhihu:question'] a"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"extractAttribute"</span>:<span class="string">"href"</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;]&#125;</span><br></pre></td></tr></table></figure></p>
<h3 id="知乎专栏文章"><a href="#知乎专栏文章" class="headerlink" title="知乎专栏文章"></a>知乎专栏文章</h3><p>这里以另一面专栏为例 <a href="https://zhuanlan.zhihu.com/Wisdom" target="_blank" rel="noopener">https://zhuanlan.zhihu.com/Wisdom</a>  ，由于文章是滚动式加载，因此增加type <code>Element scroll down</code><br><img src="https://upload-images.jianshu.io/upload_images/23152173-654a05c6a19f4544.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>里面有5个选择器：文章标题，阅读全文，文章内容，文章链接，文章赞数。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-9ed9aa216b2e9768.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>抓取后页面会自动滚动加载，并且点击阅读全文展开内容。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-a240067de240ef73.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>为了方便大家学习抓取，我导出了sitemap，你可以直接导入使用，如果还想导出文章转PDF可以参考这个Python脚本 <a href="https://gitee.com/crossin/snippet/blob/master/get_zhihu/get_zhihu.py" target="_blank" rel="noopener">https://gitee.com/crossin/snippet/blob/master/get_zhihu/get_zhihu.py</a> 。<br><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">&#123;<span class="string">"_id"</span>:<span class="string">"zhihu_zhuanlan"</span>,<span class="string">"startUrl"</span>:[<span class="string">"https://zhuanlan.zhihu.com/Wisdom"</span>],<span class="string">"selectors"</span>:[&#123;<span class="string">"id"</span>:<span class="string">"文章容器"</span>,<span class="string">"type"</span>:<span class="string">"SelectorElementScroll"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"_root"</span>],<span class="string">"selector"</span>:<span class="string">"div.css-8txec3"</span>,<span class="string">"multiple"</span>:<span class="literal">true</span>,<span class="string">"delay"</span>:<span class="number">2000</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"文章标题"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"文章容器"</span>],<span class="string">"selector"</span>:<span class="string">".ContentItem-title a"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"阅读全文"</span>,<span class="string">"type"</span>:<span class="string">"SelectorElementClick"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"文章容器"</span>],<span class="string">"selector"</span>:<span class="string">"button.ContentItem-more"</span>,<span class="string">"multiple"</span>:<span class="literal">true</span>,<span class="string">"delay"</span>:<span class="number">2000</span>,<span class="string">"clickElementSelector"</span>:<span class="string">"button.ContentItem-more"</span>,<span class="string">"clickType"</span>:<span class="string">"clickOnce"</span>,<span class="string">"discardInitialElements"</span>:<span class="string">"do-not-discard"</span>,<span class="string">"clickElementUniquenessType"</span>:<span class="string">"uniqueHTMLText"</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"文章内容"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"文章容器"</span>],<span class="string">"selector"</span>:<span class="string">"div.RichContent-inner"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"文章链接"</span>,<span class="string">"type"</span>:<span class="string">"SelectorElementAttribute"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"文章容器"</span>],<span class="string">"selector"</span>:<span class="string">".ContentItem-title a"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"extractAttribute"</span>:<span class="string">"href"</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"文章赞数"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"文章容器"</span>],<span class="string">"selector"</span>:<span class="string">"button.VoteButton--up"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;]&#125;</span><br></pre></td></tr></table></figure></p>
<h3 id="知乎话题"><a href="#知乎话题" class="headerlink" title="知乎话题"></a>知乎话题</h3><p>这里以电影话题为例 <a href="https://www.zhihu.com/topic/19550429/top-answers" target="_blank" rel="noopener">https://www.zhihu.com/topic/19550429/top-answers</a> ，由于这个话题下回答太多，我们只取前50条，因此在元素后增加<code>-n+50</code> nth-of-type(-n+50) ，同样是滚动加载 <code>Element scroll down</code> 。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-a5ec4444493997fa.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>里面有3个选择器 ：知乎问题，回答人，赞同数 。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-ffc6aaf59aa5fe03.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>需要注意title 不能直接用<code>[itemprop=&#39;zhihu:question&#39;] a</code> ，有些标题没有这个类，可以点击两次 P 键，匹配到标题的父标签 h2 或者 h2.ContentItem-title。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-99a6f666ac0e7096.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>看下抓取结果没问题。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-f2fc8c835cfeea69.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>为了方便大家学习抓取，我导出了sitemap，你可以直接导入使用。<br><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">&#123;<span class="string">"_id"</span>:<span class="string">"zhihu_topic"</span>,<span class="string">"startUrl"</span>:[<span class="string">"https://www.zhihu.com/topic/19550429/top-answers"</span>],<span class="string">"selectors"</span>:[&#123;<span class="string">"id"</span>:<span class="string">"topic"</span>,<span class="string">"type"</span>:<span class="string">"SelectorElementScroll"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"_root"</span>],<span class="string">"selector"</span>:<span class="string">"div.List-item:nth-of-type(-n+100)"</span>,<span class="string">"multiple"</span>:<span class="literal">true</span>,<span class="string">"delay"</span>:<span class="number">2000</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"知乎问题"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"topic"</span>],<span class="string">"selector"</span>:<span class="string">"h2"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"回答人"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"topic"</span>],<span class="string">"selector"</span>:<span class="string">".AuthorInfo-name div.Popover"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"赞同数"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"topic"</span>],<span class="string">"selector"</span>:<span class="string">"button.VoteButton--up"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;]&#125;</span><br></pre></td></tr></table></figure></p>
<h3 id="微博转发"><a href="#微博转发" class="headerlink" title="微博转发"></a>微博转发</h3><p>这里以李健的这条微博转发为例 <a href="https://weibo.com/1744395855/JpvzPo9Rx?type=repost" target="_blank" rel="noopener">https://weibo.com/1744395855/JpvzPo9Rx?type=repost</a> ，翻页的type为 <code>element click</code> ，这种翻页页面不会刷新。</p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-28429c28ba30a4ab.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p> 里面有3个选择器：微博昵称，微博评论，评论时间。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-c4bee952b8316839.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>看下抓取结果没问题。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-930df52bd087cb56.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br><img src="https://upload-images.jianshu.io/upload_images/23152173-bac91764a2bd27c0.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>为了方便大家学习抓取，我导出了sitemap，你可以直接导入使用。<br><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">&#123;<span class="string">"_id"</span>:<span class="string">"weibo"</span>,<span class="string">"startUrl"</span>:[<span class="string">"https://weibo.com/1744395855/JpvzPo9Rx?type=repost"</span>],<span class="string">"selectors"</span>:[&#123;<span class="string">"id"</span>:<span class="string">"content"</span>,<span class="string">"type"</span>:<span class="string">"SelectorElementClick"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"_root"</span>],<span class="string">"selector"</span>:<span class="string">"div.list_li"</span>,<span class="string">"multiple"</span>:<span class="literal">true</span>,<span class="string">"delay"</span>:<span class="number">2000</span>,<span class="string">"clickElementSelector"</span>:<span class="string">"a.page[action-data]"</span>,<span class="string">"clickType"</span>:<span class="string">"clickOnce"</span>,<span class="string">"discardInitialElements"</span>:<span class="string">"do-not-discard"</span>,<span class="string">"clickElementUniquenessType"</span>:<span class="string">"uniqueText"</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"微博昵称"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"content"</span>],<span class="string">"selector"</span>:<span class="string">".WB_text a[usercard]"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"微博评论"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"content"</span>],<span class="string">"selector"</span>:<span class="string">".WB_text span"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"评论时间"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"content"</span>],<span class="string">"selector"</span>:<span class="string">".WB_from a"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;]&#125;</span><br></pre></td></tr></table></figure></p>
<h3 id="豆瓣电影"><a href="#豆瓣电影" class="headerlink" title="豆瓣电影"></a>豆瓣电影</h3><p>之前文章抓取豆瓣电影是通过URL分页来抓取 <a href="https://movie.douban.com/top250?start=[0-250:25]&amp;filter=" target="_blank" rel="noopener">https://movie.douban.com/top250?start=[0-250:25]&amp;filter=</a>  ，这里通过点击下一页来抓取，新增type 为 <code>link</code> ，它有两个父节点：_root 和自己（按 shift 可以多选）。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-9d8e78ed05fc62a6.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>结构图如下：<br><img src="https://upload-images.jianshu.io/upload_images/23152173-af79a3c10e1e4c1b.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>电影元素里有5个选择器：电影名称，电影排名，电影简介，豆瓣评分，豆瓣链接。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-1ca3b589518541d4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>抓取结果也很完美。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-263856e78477e958.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>为了方便大家学习抓取，我导出了sitemap，你可以直接导入使用。<br><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">&#123;<span class="string">"_id"</span>:<span class="string">"douban_movies"</span>,<span class="string">"startUrl"</span>:[<span class="string">"https://movie.douban.com/top250?start=0&amp;filter="</span>],<span class="string">"selectors"</span>:[&#123;<span class="string">"id"</span>:<span class="string">"下一页"</span>,<span class="string">"type"</span>:<span class="string">"SelectorLink"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"_root"</span>,<span class="string">"下一页"</span>],<span class="string">"selector"</span>:<span class="string">".next a"</span>,<span class="string">"multiple"</span>:<span class="literal">true</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"电影元素"</span>,<span class="string">"type"</span>:<span class="string">"SelectorElement"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"_root"</span>,<span class="string">"下一页"</span>],<span class="string">"selector"</span>:<span class="string">".grid_view li"</span>,<span class="string">"multiple"</span>:<span class="literal">true</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"电影名称"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"电影元素"</span>],<span class="string">"selector"</span>:<span class="string">"span.title:nth-of-type(1)"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"电影排名"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"电影元素"</span>],<span class="string">"selector"</span>:<span class="string">"em"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"电影简介"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"电影元素"</span>],<span class="string">"selector"</span>:<span class="string">"span.inq"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"豆瓣评分"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"电影元素"</span>],<span class="string">"selector"</span>:<span class="string">"span.rating_num"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"豆瓣链接"</span>,<span class="string">"type"</span>:<span class="string">"SelectorElementAttribute"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"电影元素"</span>],<span class="string">"selector"</span>:<span class="string">"div.hd a"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"extractAttribute"</span>:<span class="string">"href"</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;]&#125;</span><br></pre></td></tr></table></figure></p>
<p>通过这次新增的几个type ：<code>Element attribute</code> ， <code>element click</code> ，<code>Element scroll down</code>， <code>link</code>，以及 nth-of-type(-n+50) 应该可以完成大部分网站的数据抓取。</p>
<p>最近文章：</p>
<p><a href="https://mp.weixin.qq.com/s/n9ddxx6Zu5hC7cqEXRnMOg" target="_blank" rel="noopener">视频下载神器：支持腾讯/优酷/爱奇艺/b站/微博等全网视频</a></p>
<p><a href="https://mp.weixin.qq.com/s/j88qrbHF9k-h7zrgfD87iw" target="_blank" rel="noopener">良心整理：PDF工具合集</a></p>
<p><a href="https://mp.weixin.qq.com/s/pt0hCthceThMZVU0Ht89AA" target="_blank" rel="noopener">2020 最全电子书搜索网站，找电子书不再愁</a></p>
<p><a href="https://mp.weixin.qq.com/s/Agh5EAgkd6__jq3J6CCNlA" target="_blank" rel="noopener">b 站账号快速升级到 Lv6：每天自动签到，观看，分享，投币视频 </a></p>
<p><a href="https://mp.weixin.qq.com/s/Zjhap47PGpIhQi79gkekCg" target="_blank" rel="noopener">集赞生成器：朋友圈集赞不求人</a></p>
<h3 id="公众号-苏生不惑"><a href="#公众号-苏生不惑" class="headerlink" title="公众号 苏生不惑"></a>公众号 苏生不惑</h3><p> <img src="https://upload-images.jianshu.io/upload_images/17817191-6e0079f95d4c0338.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="扫描二维码关注或搜索微信susheng_buhuo"></p>

          
        
      
    </div>
    
    
    

    

    

    

    <footer class="post-footer">
      

      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </div>
  
  
  
  </article>


    
      

  

  
  
  

  <article class="post post-type-normal" itemscope="" itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2020/11/20/视频下载神器：支持腾讯-优酷-爱奇艺-b站-微博等全网视频/">

    <span hidden itemprop="author" itemscope="" itemtype="http://schema.org/Person">
      <meta itemprop="name" content="苏生不惑">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="苏生不惑的博客">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
                
                <a class="post-title-link" href="/2020/11/20/视频下载神器：支持腾讯-优酷-爱奇艺-b站-微博等全网视频/" itemprop="url">视频下载神器：支持腾讯/优酷/爱奇艺/b站/微博等全网视频</a></h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2020-11-20T18:45:32+08:00">
                2020-11-20
              </time>
            

            

            
          </span>

          

          
            
          

          
          

          

          
            <div class="post-wordcount">
              
                
                  <span class="post-meta-divider">|</span>
                
                <span class="post-meta-item-icon">
                  <i class="fa fa-file-word-o"></i>
                </span>
                
                  <span class="post-meta-item-text">字数统计&#58;</span>
                
                <span title="字数统计">
                  2.1k 字
                </span>
              

              
                <span class="post-meta-divider">|</span>
              

              
                <span class="post-meta-item-icon">
                  <i class="fa fa-clock-o"></i>
                </span>
                
                  <span class="post-meta-item-text">阅读时长 &asymp;</span>
                
                <span title="阅读时长">
                  9 分钟
                </span>
              
            </div>
          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <blockquote>
<p>苏生不惑第<code>194</code> 篇原创文章，将本公众号设为<code>星标</code>，第一时间看最新文章。</p>
</blockquote>
<p>虽然大部分视频网站都提供视频下载/缓存功能，但有些下载的视频只能用指定播放器来播放，而且为了下载视频都要安装他们的工具太麻烦了，如果有一个通用下载工具就方便了，这里推荐几个视频下载神器，支持腾讯/优酷/爱奇艺/b站/微博等全网视频。</p>
<h3 id="命令行下载工具"><a href="#命令行下载工具" class="headerlink" title="命令行下载工具"></a>命令行下载工具</h3><p>命令行下载工具有 youtube-dl，you-get ，ykdl ，annie  4个。</p>
<p>youtube-dl 是一款基于Python的网络视频命令行下载工具 <a href="https://github.com/ytdl-org/youtube-dl" target="_blank" rel="noopener">https://github.com/ytdl-org/youtube-dl</a> ，最初旨在从Youtube上下载视频，现在也支持其它网站了，先安装好Python再命令行中用<code>pip install -U youtube-dl</code>来安装它 ，我用的命令行工具是cmder。</p>
<figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br></pre></td><td class="code"><pre><span class="line">λ  pip install -U youtube-dl</span><br><span class="line">Collecting youtube-dl</span><br><span class="line">  Downloading https:<span class="comment">//files.pythonhosted.org/packages/89/5e/78523cb106c93370941b5fdd7e6dab58d66d762a1d7fd914eeff8ba2fb03/youtube_dl-2020.11.1.1-py2.py3-none-any.whl (1.8MB)</span></span><br><span class="line">     |████████████████████████████████| <span class="number">1.8</span>MB <span class="number">1.3</span>MB/s</span><br><span class="line">Installing collected packages: youtube-dl</span><br><span class="line">  Found existing installation: youtube-dl <span class="number">2018.10</span><span class="number">.5</span></span><br><span class="line">    Uninstalling youtube-dl<span class="number">-2018.10</span><span class="number">.5</span>:</span><br><span class="line">      Successfully uninstalled youtube-dl<span class="number">-2018.10</span><span class="number">.5</span></span><br><span class="line">Successfully installed youtube-dl<span class="number">-2020.11</span><span class="number">.1</span><span class="number">.1</span></span><br></pre></td></tr></table></figure>
<p>前段时间由于某些原因被下架了，于是有了镜像工具 youtube-dlc <a href="https://github.com/blackjack4494/yt-dlc" target="_blank" rel="noopener">https://github.com/blackjack4494/yt-dlc</a> ，还好现在恢复了。<br><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br></pre></td><td class="code"><pre><span class="line">λ pip install --upgrade youtube-dlc</span><br><span class="line">Collecting youtube-dlc</span><br><span class="line">  Downloading https:<span class="comment">//files.pythonhosted.org/packages/3c/a7/6b6b681766b3786273f0c52f34fb2537c0eae51d817476a7bee18d0f3bc4/youtube_dlc-2020.11.7-py2.py3-none-any.whl (1.8MB)</span></span><br><span class="line">     |████████████████████████████████| <span class="number">1.8</span>MB <span class="number">364</span>kB/s</span><br><span class="line">Installing collected packages: youtube-dlc</span><br><span class="line">Successfully installed youtube-dlc<span class="number">-2020.11</span><span class="number">.7</span></span><br><span class="line"></span><br><span class="line">λ youtube-dlc   https:<span class="comment">//www.bilibili.com/video/BV1dD4y197fH</span></span><br><span class="line">[BiliBili] <span class="number">1</span>dD4y197fH: Downloading webpage</span><br><span class="line">[BiliBili] <span class="number">1</span>dD4y197fH: Downloading video info page</span><br><span class="line">[download] Destination: 活动作品十一月听什么？当然是《十一月的嚣张》！<span class="number">-1</span>dD4y197fH.flv</span><br><span class="line">[download] <span class="number">100</span>% <span class="keyword">of</span> <span class="number">171.93</span>MiB <span class="keyword">in</span> <span class="number">03</span>:<span class="number">36</span></span><br></pre></td></tr></table></figure></p>
<p><code>youtube-dlc   https://www.bilibili.com/video/BV1dD4y197fH</code>很快就下载好了一个b站视频 。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-cfc97daff9399c27.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>用QQ影音播放器就能播放。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-1ef3fbe468005f4a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>you-get 也是基于Python的命令行工具 <a href="https://github.com/soimort/you-get" target="_blank" rel="noopener">https://github.com/soimort/you-get</a>  ，直接使用 <code>pip install you-get</code> 来安装。</p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-043c59988597f0ef.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>使用 <code>you-get --format=flv360 https://www.bilibili.com/video/BV1dD4y197fH</code>下载 360p格式的视频。<br><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br></pre></td><td class="code"><pre><span class="line">λ you-get --format=flv360 https:<span class="comment">//www.bilibili.com/video/BV1dD4y197fH</span></span><br><span class="line">site:                Bilibili</span><br><span class="line">title:               十一月听什么？当然是《十一月的嚣张》！</span><br><span class="line">stream:</span><br><span class="line">    - format:        flv360</span><br><span class="line">      container:     flv</span><br><span class="line">      quality:       流畅 <span class="number">360</span>P</span><br><span class="line">      size:          <span class="number">27.4</span> MiB (<span class="number">28742996</span> bytes)</span><br><span class="line">    # download-with: you-get --format=flv360 [URL]</span><br><span class="line"></span><br><span class="line">Downloading 十一月听什么？当然是《十一月的嚣张》！.flv ...</span><br><span class="line"> <span class="number">100</span>% ( <span class="number">27.4</span>/ <span class="number">27.4</span>MB) ├████████████████████████████████████████┤[<span class="number">1</span>/<span class="number">1</span>]  <span class="number">166</span> kB/s</span><br><span class="line"></span><br><span class="line">Downloading 十一月听什么？当然是《十一月的嚣张》！.cmt.xml ...</span><br></pre></td></tr></table></figure></p>
<p>连弹幕也下载好了，可以用文本编辑器打开。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-b5c6c368a65267b8.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>ykdl是基于you-get的命令行下载工具，支持Python2和更多国内视频网站  <a href="https://github.com/zhangn1985/ykdl，" target="_blank" rel="noopener">https://github.com/zhangn1985/ykdl，</a> 使用<code>pip install ykdl</code>安装它。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-a7bee1b258c54f79.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>使用<code>ykdl --format=SD https://www.bilibili.com/video/BV1dD4y197fH</code> 下载360p格式视频。<br> <figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br></pre></td><td class="code"><pre><span class="line">λ ykdl --format=SD https:<span class="comment">//www.bilibili.com/video/BV1dD4y197fH</span></span><br><span class="line">site:                哔哩哔哩 (Bilibili)</span><br><span class="line">title:               十一月听什么？当然是《十一月的嚣张》！ - 十一月的肖邦十五周年-muxed</span><br><span class="line">artist:              zyl2012</span><br><span class="line">streams:</span><br><span class="line">    - format:        SD</span><br><span class="line">      container:     mp4</span><br><span class="line">      video-profile: 流畅 <span class="number">360</span>P</span><br><span class="line">      size:          <span class="number">27.4</span> MiB (<span class="number">28742996</span> bytes)</span><br><span class="line">    # download-with: ykdl --format=SD [URL]</span><br><span class="line">Download: 十一月听什么？当然是《十一月的嚣张》！ - 十一月的肖邦十五周年-muxed_SD</span><br><span class="line"> <span class="number">100</span>%</span><br></pre></td></tr></table></figure></p>
<p>最后一个是 annie   <a href="https://github.com/iawia002/annie" target="_blank" rel="noopener">https://github.com/iawia002/annie</a> ，它是基于golang开发的命令行工具，使用 <code>go get github.com/iawia002/annie</code> 来安装它，如果没有go环境可以下载提供的可执行文件 <a href="https://wwx.lanzoux.com/iIB1Rgf90uf" target="_blank" rel="noopener">https://wwx.lanzoux.com/iIB1Rgf90uf</a> ，然后配置下环境变量。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-6deab4cb1a5627ec.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>它支持的视频网站有抖音，b站，优酷，YouTube，爱奇艺，芒果，微博，腾讯视频，网易云音乐，好看视频等。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-ec4c8eeb142f9e24.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p> <code>annie -i https://v.youku.com/v_show/id_XMjg5MDQxOTc2MA==.html</code>查看优酷视频信息。<br><figure class="highlight"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br></pre></td><td class="code"><pre><span class="line">annie -i https:<span class="comment">//v.youku.com/v_show/id_XMjg5MDQxOTc2MA==.html</span></span><br><span class="line"></span><br><span class="line"> Site:      优酷 youku.com</span><br><span class="line"> Title:     周杰伦电影《不能说的秘密》你看过吗? 是杰迷都会唱这首歌吧</span><br><span class="line"> Type:      video</span><br><span class="line"> Streams:   # All available quality</span><br><span class="line">     [flvhd]  -------------------</span><br><span class="line">     Quality:         flvhd <span class="number">640</span>x360</span><br><span class="line">     Size:            <span class="number">9.24</span> MiB (<span class="number">9693070</span> Bytes)</span><br><span class="line">     # download with: annie -f flvhd ...</span><br><span class="line"></span><br><span class="line">     [<span class="number">3</span>gphd]  -------------------</span><br><span class="line">     Quality:         <span class="number">3</span>gphd <span class="number">480</span>x268</span><br><span class="line">     Size:            <span class="number">6.93</span> MiB (<span class="number">7268066</span> Bytes)</span><br><span class="line">     # download with: annie -f 3gphd ...</span><br></pre></td></tr></table></figure></p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-e871a9effb943e95.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br><code>annie -i https://www.iqiyi.com/w_19rwc42eht.html</code>查看爱奇艺视频信息。</p>
<figure class="highlight"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br></pre></td><td class="code"><pre><span class="line">annie -i https:<span class="comment">//www.iqiyi.com/w_19rwc42eht.html</span></span><br><span class="line"></span><br><span class="line">Site:      爱奇艺 iqiyi.com</span><br><span class="line">Title:     几分钟看完周杰伦巅峰爱情电影《不能说的秘密》-电影-完整版视频在线观看-爱奇艺</span><br><span class="line">Type:      video</span><br><span class="line">Streams:   # All available quality</span><br><span class="line">    [<span class="number">5</span>]  -------------------</span><br><span class="line">    Quality:         <span class="number">1920</span>x1080</span><br><span class="line">    Size:            <span class="number">35.51</span> MiB (<span class="number">37234397</span> Bytes)</span><br><span class="line">    # download with: annie -f 5 ...</span><br><span class="line"></span><br><span class="line">    [<span class="number">4</span>]  -------------------</span><br><span class="line">    Quality:         <span class="number">1920</span>x1080</span><br><span class="line">    Size:            <span class="number">24.04</span> MiB (<span class="number">25207170</span> Bytes)</span><br><span class="line">    # download with: annie -f 4 ...</span><br><span class="line"></span><br><span class="line">    [<span class="number">2</span>]  -------------------</span><br><span class="line">    Quality:         <span class="number">1920</span>x1080</span><br><span class="line">    Size:            <span class="number">16.17</span> MiB (<span class="number">16958163</span> Bytes)</span><br><span class="line">    # download with: annie -f 2 ...</span><br><span class="line"></span><br><span class="line">    [<span class="number">1</span>]  -------------------</span><br><span class="line">    Quality:         <span class="number">1920</span>x1080</span><br><span class="line">    Size:            <span class="number">8.30</span> MiB (<span class="number">8704998</span> Bytes)</span><br><span class="line">    # download with: annie -f 1 ...</span><br></pre></td></tr></table></figure>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-e4e4dd37b45bec39.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br><code>annie -i https://v.qq.com/x/cover/mzc00200vvfld1j/q0034sb9eru.html</code>查看腾讯视频信息。<br><figure class="highlight"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br></pre></td><td class="code"><pre><span class="line">annie -i https:<span class="comment">//v.qq.com/x/cover/mzc00200vvfld1j/q0034sb9eru.html</span></span><br><span class="line"></span><br><span class="line">Site:      腾讯视频 v.qq.com</span><br><span class="line">Title:     周杰伦《Mojito》MV首播，一起恋上古巴的微醺浪漫</span><br><span class="line">Type:      video</span><br><span class="line">Streams:   # All available quality</span><br><span class="line">    [fhd]  -------------------</span><br><span class="line">    Quality:         蓝光;(<span class="number">1080</span>P)</span><br><span class="line">    Size:            <span class="number">66.57</span> MiB (<span class="number">69801700</span> Bytes)</span><br><span class="line">    # download with: annie -f fhd ...</span><br><span class="line"></span><br><span class="line">    [shd]  -------------------</span><br><span class="line">    Quality:         超清;(<span class="number">720</span>P)</span><br><span class="line">    Size:            <span class="number">43.26</span> MiB (<span class="number">45358921</span> Bytes)</span><br><span class="line">    # download with: annie -f shd ...</span><br><span class="line"></span><br><span class="line">    [hd]  -------------------</span><br><span class="line">    Quality:         高清;(<span class="number">480</span>P)</span><br><span class="line">    Size:            <span class="number">20.86</span> MiB (<span class="number">21873015</span> Bytes)</span><br><span class="line">    # download with: annie -f hd ...</span><br><span class="line"></span><br><span class="line">    [sd]  -------------------</span><br><span class="line">    Quality:         标清;(<span class="number">270</span>P)</span><br><span class="line">    Size:            <span class="number">9.11</span> MiB (<span class="number">9554586</span> Bytes)</span><br><span class="line">    # download with: annie -f sd ...</span><br></pre></td></tr></table></figure></p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-d0f5cfaec0695a7b.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br><code>annie -i https://www.bilibili.com/video/BV1dD4y197fH</code> 查看b站视频信息，其余视频网站就不一一演示了。<br><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br></pre></td><td class="code"><pre><span class="line">annie -i https:<span class="comment">//www.bilibili.com/video/BV1dD4y197fH</span></span><br><span class="line"></span><br><span class="line"> Site:      哔哩哔哩 bilibili.com</span><br><span class="line"> Title:     活动作品十一月听什么？当然是《十一月的嚣张》！</span><br><span class="line"> Type:      video</span><br><span class="line"> Streams:   # All available quality</span><br><span class="line">     [<span class="number">80</span>]  -------------------</span><br><span class="line">     Quality:         高清 <span class="number">1080</span>P</span><br><span class="line">     Size:            <span class="number">159.23</span> MiB (<span class="number">166964530</span> Bytes)</span><br><span class="line">     # download with: annie -f 80 ...</span><br><span class="line"></span><br><span class="line">     [<span class="number">64</span>]  -------------------</span><br><span class="line">     Quality:         高清 <span class="number">720</span>P</span><br><span class="line">     Size:            <span class="number">109.15</span> MiB (<span class="number">114453468</span> Bytes)</span><br><span class="line">     # download with: annie -f 64 ...</span><br><span class="line"></span><br><span class="line">     [<span class="number">32</span>]  -------------------</span><br><span class="line">     Quality:         清晰 <span class="number">480</span>P</span><br><span class="line">     Size:            <span class="number">54.01</span> MiB (<span class="number">56629359</span> Bytes)</span><br><span class="line">     # download with: annie -f 32 ...</span><br><span class="line"></span><br><span class="line">     [<span class="number">16</span>]  -------------------</span><br><span class="line">     Quality:         流畅 <span class="number">360</span>P</span><br><span class="line">     Size:            <span class="number">22.41</span> MiB (<span class="number">23495541</span> Bytes)</span><br><span class="line">     # download with: annie -f 16 ...</span><br><span class="line"><span class="string">``</span><span class="string">`  </span></span><br><span class="line"><span class="string">![image.png](https://upload-images.jianshu.io/upload_images/23152173-114bbd516d0eac87.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)</span></span><br><span class="line"><span class="string"></span></span><br><span class="line"><span class="string">使用 `</span> annie -f <span class="number">16</span> https:<span class="comment">//www.bilibili.com/video/BV1dD4y197fH` 下载b站视频，如果需要登录账号权限下载可以加入cookie下载 `annie -c cookies.txt https://www.bilibili.com/video/BV1dD4y197fH` 。</span></span><br><span class="line"><span class="string">``</span><span class="string">`js</span></span><br><span class="line"><span class="string"> annie -f 16 https://www.bilibili.com/video/BV1dD4y197fH</span></span><br><span class="line"><span class="string"></span></span><br><span class="line"><span class="string"> Site:      哔哩哔哩 bilibili.com</span></span><br><span class="line"><span class="string"> Title:     活动作品十一月听什么？当然是《十一月的嚣张》！</span></span><br><span class="line"><span class="string"> Type:      video</span></span><br><span class="line"><span class="string"> Stream:</span></span><br><span class="line"><span class="string">     [16]  -------------------</span></span><br><span class="line"><span class="string">     Quality:         流畅 360P</span></span><br><span class="line"><span class="string">     Size:            22.41 MiB (23495541 Bytes)</span></span><br><span class="line"><span class="string">     # download with: annie -f 16 ...</span></span><br><span class="line"><span class="string"></span></span><br><span class="line"><span class="string"> 22.41 MiB / 22.41 MiB [==================================================================] 100.00% 5.21 MiB/s 4s Merging video parts into 活动作品十一月听什么？当然是《十一月的嚣张》！.mp4</span></span><br></pre></td></tr></table></figure></p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-a307ac5f401648fc.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>上面4个命令行工具也不用都下载，有人开发了集合 annie/ykdl/youtube-dl/you-get 的组件 AYY-VideoDown 。</p>
<h3 id="AYY-VideoDown"><a href="#AYY-VideoDown" class="headerlink" title="AYY-VideoDown"></a>AYY-VideoDown</h3><p> 这个工具集合了 annie/ykdl/youtube-dl/you-get 四大网络视频下载工具（公众号后台回复 <code>视频</code> 获取），其中annie 默认安装了可以直接使用，其余3个自行选择安装。 </p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-60a422a786e5715b.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>如果不会用命令行下载还有基于you-get的界面版软件vdl。</p>
<h3 id="vdl"><a href="#vdl" class="headerlink" title="vdl"></a>vdl</h3><p> vdl是基于you-get的界面版软件<br>， 比如下载腾讯视频周杰伦的《Mojito》  <a href="https://v.qq.com/x/cover/mzc00200vvfld1j/q0034sb9eru.html" target="_blank" rel="noopener">https://v.qq.com/x/cover/mzc00200vvfld1j/q0034sb9eru.html</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-b0534653a0d16abc.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>下载爱奇艺视频 <a href="https://www.iqiyi.com/w_19rwc42eht.html" target="_blank" rel="noopener">https://www.iqiyi.com/w_19rwc42eht.html</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-db16e71fb9192b1b.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>b站视频地址可以选择分p下载。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-bdfee9a3274e7277.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br><img src="https://upload-images.jianshu.io/upload_images/23152173-b6e48a8ccf81f2ac.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>对于不在上面命令行工具支持列表的网站可以使用 idm和 m3u8 工具来下载，比如知乎视频就可以idm直接下载。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-06363a8e49deb848.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>m3u8格式的视频就不能用idm了，推荐这个工具 <a href="https://github.com/nilaoda/N_m3u8DL-CLI" target="_blank" rel="noopener">https://github.com/nilaoda/N_m3u8DL-CLI</a>  <a href="https://wwx.lanzoux.com/ifAYJiitxve" target="_blank" rel="noopener">https://wwx.lanzoux.com/ifAYJiitxve</a></p>
<p>比如获取腾讯视频 <a href="https://v.qq.com/x/cover/mzc00200vvfld1j/q0034sb9eru.html" target="_blank" rel="noopener">https://v.qq.com/x/cover/mzc00200vvfld1j/q0034sb9eru.html</a> 的 m3u8地址 <a href="https://defaultts.tc.qq.com/defaultts.tc.qq.com/AKXSNi8x6hxiqLy-vm5AhWV9dq_L7hIdRXtTnmcYBkxY/uwMROfz2r5zCIaQXGdGnC2df644Q3LWUuLvyGY4RMhgE_3T2/-rp2e6W0VzJkbiX70R_4tK0WBrq2oF8s0TX0tN7CiYWIdFMYUuoiAmTSKC-jJIFoIORa7HycZryWuVHPDq4OnGJezgtfLIq1e54A2xTzpMqrqV0r0P1Xv_MtU2uqIye8MNTKoggXqUhNZkQlCt0I8a93zk9QUHGLe1x1BqGapxY/q0034sb9eru.321002.ts.m3u8?ver=4" target="_blank" rel="noopener">https://defaultts.tc.qq.com/defaultts.tc.qq.com/AKXSNi8x6hxiqLy-vm5AhWV9dq_L7hIdRXtTnmcYBkxY/uwMROfz2r5zCIaQXGdGnC2df644Q3LWUuLvyGY4RMhgE_3T2/-rp2e6W0VzJkbiX70R_4tK0WBrq2oF8s0TX0tN7CiYWIdFMYUuoiAmTSKC-jJIFoIORa7HycZryWuVHPDq4OnGJezgtfLIq1e54A2xTzpMqrqV0r0P1Xv_MtU2uqIye8MNTKoggXqUhNZkQlCt0I8a93zk9QUHGLe1x1BqGapxY/q0034sb9eru.321002.ts.m3u8?ver=4</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-f60378bdfae62307.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>输入获取的m3u8地址直接下载。</p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-61f4db78becd685e.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>很快下载好了。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-abdd076fcfb151c9.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>另外如果想批量下载b站up主视频推荐这个 b站下载工具 ，之前文章 <a href="https://mp.weixin.qq.com/s/a_lxHOQVA9RR_dYyzr56Gw" target="_blank" rel="noopener">如何更优雅地使用 bilibili(b站)</a> 介绍过，比如输入李永乐老师<a href="https://space.bilibili.com/9458053/" target="_blank" rel="noopener">https://space.bilibili.com/9458053/</a> 的uid，共352个视频。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-9805074e4906235d.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>下载速度还是很快的。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-1c8b9d982b2d48b9.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>还有下载抖音博主的视频 <a href="https://v.douyin.com/JkaaoTH/" target="_blank" rel="noopener">https://v.douyin.com/JkaaoTH/</a> ，之前文章<a href="https://mp.weixin.qq.com/s/UhLx4cjkfNVsdUyod7te0g" target="_blank" rel="noopener">一键批量下载抖音无水印视频</a> 也介绍过了。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-b98bcfb40e27c605.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>如果要下载MOOC大学的视频见之前文章<a href="https://mp.weixin.qq.com/s/jBqtpcGIW40dUjpuGIzDWQ" target="_blank" rel="noopener">一键下载中国大学/网易云课堂/慕课网等课程视频和课件</a></p>
<p>最后分享个油猴脚本（公众号后台回复 <code>视频</code> 获取），可以去除腾讯，优酷，爱奇艺视频上的logo图标，之前文章 <a href="https://mp.weixin.qq.com/s/ksElusubk3s7dKtAqI4HKg" target="_blank" rel="noopener">如何更优雅地看电影/刷剧</a> 也介绍过，谷歌浏览器安装油猴Chrome扩展 <a href="https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=zh-CN" target="_blank" rel="noopener">https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=zh-CN</a> 后直接导入脚本文件。</p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-8a88feae6b3f43da.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>安装脚本前。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-b5759ac3cdf02743.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>安装脚本后爱奇艺logo不见了。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-ecb58c61d932952c.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="公众号-苏生不惑"><a href="#公众号-苏生不惑" class="headerlink" title="公众号 苏生不惑"></a>公众号 苏生不惑</h3><p> <img src="https://upload-images.jianshu.io/upload_images/17817191-6e0079f95d4c0338.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="扫描二维码关注或搜索微信susheng_buhuo"></p>

          
        
      
    </div>
    
    
    

    

    

    

    <footer class="post-footer">
      

      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </div>
  
  
  
  </article>


    
      

  

  
  
  

  <article class="post post-type-normal" itemscope="" itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2020/11/20/那些有趣的网站系列（七）/">

    <span hidden itemprop="author" itemscope="" itemtype="http://schema.org/Person">
      <meta itemprop="name" content="苏生不惑">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="苏生不惑的博客">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
                
                <a class="post-title-link" href="/2020/11/20/那些有趣的网站系列（七）/" itemprop="url">那些有趣的网站系列（七）</a></h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2020-11-20T18:44:24+08:00">
                2020-11-20
              </time>
            

            

            
          </span>

          

          
            
          

          
          

          

          
            <div class="post-wordcount">
              
                
                  <span class="post-meta-divider">|</span>
                
                <span class="post-meta-item-icon">
                  <i class="fa fa-file-word-o"></i>
                </span>
                
                  <span class="post-meta-item-text">字数统计&#58;</span>
                
                <span title="字数统计">
                  663 字
                </span>
              

              
                <span class="post-meta-divider">|</span>
              

              
                <span class="post-meta-item-icon">
                  <i class="fa fa-clock-o"></i>
                </span>
                
                  <span class="post-meta-item-text">阅读时长 &asymp;</span>
                
                <span title="阅读时长">
                  2 分钟
                </span>
              
            </div>
          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <blockquote>
<p>苏生不惑第193篇原创文章，将本公众号设为<code>星标</code>，第一时间看最新文章。</p>
</blockquote>
<p>之前分享过有趣的网站有：</p>
<p> <a href="https://mp.weixin.qq.com/s/ThUw9i43paFhXfPxF8mvyQ" target="_blank" rel="noopener">那些有趣的网站</a> </p>
<p><a href="https://mp.weixin.qq.com/s/wTgYpovJrJh8_Zj1h6EbzA" target="_blank" rel="noopener">那些有趣的网站（二）</a></p>
<p><a href="https://mp.weixin.qq.com/s/GgNmAY0LUHES3z2IB_5QkQ" target="_blank" rel="noopener">那些有趣的网站系列（三）</a></p>
<p><a href="https://mp.weixin.qq.com/s/seFzUO4MVcNw8kkXTufMtA" target="_blank" rel="noopener">那些有趣的网站系列（四）</a></p>
<p><a href="https://mp.weixin.qq.com/s/qi2tOWHtWeqRjKE6cybLJA" target="_blank" rel="noopener">那些有趣的网站系列（五）</a>  </p>
<p><a href="https://mp.weixin.qq.com/s/J5WX6Ns9kDECnRyDdJodDw" target="_blank" rel="noopener">那些有趣的网站系列（六）</a></p>
<p>这是系列第7篇。</p>
<h3 id="世界语言发音"><a href="#世界语言发音" class="headerlink" title="世界语言发音"></a>世界语言发音</h3><p><a href="https://zh.forvo.com/" target="_blank" rel="noopener">https://zh.forvo.com/</a>  这个网站可以交流世界上各种语言的发音，问某个词怎么发音，而且还有各种方言，沪语粤语胶辽官话，比如听听各地方言怎么说吃饭这个词的。 </p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-caaf603ce29e7f9c.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="押韵精灵"><a href="#押韵精灵" class="headerlink" title="押韵精灵"></a>押韵精灵</h3><p> <a href="http://www.cnh5.net/" target="_blank" rel="noopener">http://www.cnh5.net/</a>  在线押韵工具,支持单双三四押,大幅提高文案、诗词、金句、Rap创作效率的押韵神器。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-52f088255eeba849.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>测试下效果<br><img src="https://upload-images.jianshu.io/upload_images/23152173-2755125eb9798fab.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>类似的网站有押韵助手<a href="https://yayun.la/" target="_blank" rel="noopener">https://yayun.la/</a> ，如果想查古诗词可以看看这些网站 <a href="https://www.xungushici.com/" target="_blank" rel="noopener">https://www.xungushici.com/</a> ,<a href="https://www.gushiwen.org/" target="_blank" rel="noopener">https://www.gushiwen.org/</a> ,<a href="https://meirishici.com/" target="_blank" rel="noopener">https://meirishici.com/</a> , <a href="http://bsw.unclear.top/" target="_blank" rel="noopener">http://bsw.unclear.top/</a>, <a href="https://1saying.com/" target="_blank" rel="noopener">https://1saying.com/</a></p>
<h3 id="微博历史热搜"><a href="#微博历史热搜" class="headerlink" title="微博历史热搜"></a>微博历史热搜</h3><p><a href="https://weibo.zhaoyizhe.com/" target="_blank" rel="noopener">https://weibo.zhaoyizhe.com/</a> ，可以根据日期搜索当天的微博热搜。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-bd989f2a10a95235.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>ps:微博发布了新版，如果不想开会员使用可以访问接口<a href="https://weibo.com/ajax/changeversion?status=7" target="_blank" rel="noopener">https://weibo.com/ajax/changeversion?status=7</a> ，想回退访问<a href="https://weibo.com/ajax/changeversion?status=6" target="_blank" rel="noopener">https://weibo.com/ajax/changeversion?status=6</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-3b264e2e22f5d5e0.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>另外还有个github项目会自动记录知乎每天的热榜数据 <a href="https://github.com/crosslife/ZhihuHot" target="_blank" rel="noopener">https://github.com/crosslife/ZhihuHot</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-9d825a95fcca0cd2.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="日历计划表"><a href="#日历计划表" class="headerlink" title="日历计划表"></a>日历计划表</h3><p><a href="https://www.calendarpedia.com/" target="_blank" rel="noopener">https://www.calendarpedia.com/</a> 自己动手做年历、月历、周历或日历计划表，日历款式Word、Excel和 Pdf 三种文件格式可供选择，还有横版和竖版，可以免费下载和打印。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-57fc149c74cd336a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="淘宝评论生成器"><a href="#淘宝评论生成器" class="headerlink" title="淘宝评论生成器"></a>淘宝评论生成器</h3><p><a href="https://haoduck.com/demo/tbpl.html" target="_blank" rel="noopener">https://haoduck.com/demo/tbpl.html</a>  ，比如生成关于电脑的淘宝评论 。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-dbf1f83c2db4d864.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="emoji大全"><a href="#emoji大全" class="headerlink" title="emoji大全"></a>emoji大全</h3><p><a href="https://emojidaquan.com/" target="_blank" rel="noopener">https://emojidaquan.com/</a> 一个搜集和整理emoji的网站，可以快速、方便地查找、复制各大平台的emoji表情，同时还可以查看emoji表情的定义、使用方法、使用平台以及一些有趣的玩法。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-7576456b99528818.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>类似的还有<a href="https://emojiwiz.com/zh/" target="_blank" rel="noopener">https://emojiwiz.com/zh/</a>  ，<a href="https://emoji.ohou.ga/" target="_blank" rel="noopener">https://emoji.ohou.ga/</a> </p>
<h3 id="文件分享"><a href="#文件分享" class="headerlink" title="文件分享"></a>文件分享</h3><p><a href="https://airsend.cn/" target="_blank" rel="noopener">https://airsend.cn/</a> 一个基于 P2P 的文件分享服务 ，允许你在不同网络中的设备之间共享文件。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-6151ab3ea2bb9704.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br><img src="https://upload-images.jianshu.io/upload_images/23152173-3e35f567cbe4246c.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="生活指南"><a href="#生活指南" class="headerlink" title="生活指南"></a>生活指南</h3><p><a href="https://zh.wikihow.com/" target="_blank" rel="noopener">https://zh.wikihow.com/</a>  一个人人可编辑、教大家做任何事情的百科全书，网站上几乎全是“如何xxx ”的内容，包含生活、工作、金融、技能、旅行、宗教等。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-0b489f49104dab58.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="照片合成"><a href="#照片合成" class="headerlink" title="照片合成"></a>照片合成</h3><p><a href="https://photofunia.com/" target="_blank" rel="noopener">https://photofunia.com/</a> 把照片 P 在任何场景中，包括海报、墙体广告等，比如把桂纶镁嵌入到书里 <a href="https://photofunia.com/results/5fa7fba8fe31e245438b4589" target="_blank" rel="noopener">https://photofunia.com/results/5fa7fba8fe31e245438b4589</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-83c0a78879a372da.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="公众号-苏生不惑"><a href="#公众号-苏生不惑" class="headerlink" title="公众号 苏生不惑"></a>公众号 苏生不惑</h3><p> <img src="https://upload-images.jianshu.io/upload_images/17817191-6e0079f95d4c0338.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="扫描二维码关注或搜索微信susheng_buhuo"></p>

          
        
      
    </div>
    
    
    

    

    

    

    <footer class="post-footer">
      

      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </div>
  
  
  
  </article>


    
      

  

  
  
  

  <article class="post post-type-normal" itemscope="" itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2020/11/20/b-站账号快速升级到-Lv6：每天自动签到，观看，分享，投币视频/">

    <span hidden itemprop="author" itemscope="" itemtype="http://schema.org/Person">
      <meta itemprop="name" content="苏生不惑">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="苏生不惑的博客">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
                
                <a class="post-title-link" href="/2020/11/20/b-站账号快速升级到-Lv6：每天自动签到，观看，分享，投币视频/" itemprop="url">b 站账号快速升级到 Lv6：每天自动签到，观看，分享，投币视频</a></h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2020-11-20T18:42:27+08:00">
                2020-11-20
              </time>
            

            

            
          </span>

          

          
            
          

          
          

          

          
            <div class="post-wordcount">
              
                
                  <span class="post-meta-divider">|</span>
                
                <span class="post-meta-item-icon">
                  <i class="fa fa-file-word-o"></i>
                </span>
                
                  <span class="post-meta-item-text">字数统计&#58;</span>
                
                <span title="字数统计">
                  1k 字
                </span>
              

              
                <span class="post-meta-divider">|</span>
              

              
                <span class="post-meta-item-icon">
                  <i class="fa fa-clock-o"></i>
                </span>
                
                  <span class="post-meta-item-text">阅读时长 &asymp;</span>
                
                <span title="阅读时长">
                  4 分钟
                </span>
              
            </div>
          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <blockquote>
<p>苏生不惑第192 篇原创文章，将本公众号设为<code>星标</code>，第一时间看最新文章。</p>
</blockquote>
<p>关于b站之前写了8篇文章，有兴趣回顾下：</p>
<p><a href="https://mp.weixin.qq.com/s/I3LR8ikHoX80WjaMCoMVlw" target="_blank" rel="noopener">bilibili(b站)升级到BV号了，还想用av号怎么办？</a></p>
<p><a href="https://mp.weixin.qq.com/s/HpuInXUCjSYT7HLqhoRcCA" target="_blank" rel="noopener">那些你可能不知道的 bilibili 奇技淫巧</a></p>
<p><a href="https://mp.weixin.qq.com/s/3rB23e9L55hDBaPLDu6WMg" target="_blank" rel="noopener">如何轻松下载腾讯/微博/优酷/爱奇艺/b站等全网视频？</a></p>
<p><a href="https://mp.weixin.qq.com/s/a_lxHOQVA9RR_dYyzr56Gw" target="_blank" rel="noopener">如何更优雅地使用 bilibili(b站)</a></p>
<p><a href="https://mp.weixin.qq.com/s/i53iORP49o_4eRGGQEthsg" target="_blank" rel="noopener">如何找回bilibili(b站)收藏夹里失效的视频？</a></p>
<p><a href="https://mp.weixin.qq.com/s/UtfjurjQOCBFdxNhh-rFSA" target="_blank" rel="noopener">如何免登陆观看b站大会员番剧</a></p>
<p><a href="https://mp.weixin.qq.com/s/tlV7G943bHP5WqZeuaOolw" target="_blank" rel="noopener">借助 potplayer 播放器，在本地播放 b 站视频也能看弹幕了</a></p>
<p><a href="https://mp.weixin.qq.com/s/qhyszeXXa_0c8DNWYswBhQ" target="_blank" rel="noopener">下载b站外挂字幕,用 potplayer 播放视频也能看字幕了</a></p>
<p>今天分享的是每天自动签到，观看，分享，投币视频刷经验值，让你的b站账号快速升级到 Lv6 ，先来b站个人中心看看效果。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-7fdcf9af017797ac.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>每天定时发微信提醒。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-8c83201586db0971.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>下面说下如何操作的，分为 GitHub actions 自动刷和手动刷。</p>
<h3 id="获取b站cookie"><a href="#获取b站cookie" class="headerlink" title="获取b站cookie"></a>获取b站cookie</h3><p> 谷歌浏览器登录b站 <a href="https://www.bilibili.com/" target="_blank" rel="noopener">https://www.bilibili.com/</a> ，打开控制台找到Application下的Cookies 。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-08b36f6b85729ece.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>我们需要<code>bili_jct</code>,<code>SESSDATA</code>,<code>DEDEUSERID</code>这三项，然后fork 这个GitHub项目 <a href="https://github.com/RayWangQvQ/BiliBiliTool" target="_blank" rel="noopener">https://github.com/RayWangQvQ/BiliBiliTool</a>  。</p>
<h3 id="GitHub-Secrets"><a href="#GitHub-Secrets" class="headerlink" title="GitHub Secrets"></a>GitHub Secrets</h3><p>打开 GitHub actions 新建3个secrets 变量 USERID，SESSDATA，BILIJCT ，值就是上面的cookie值。</p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-422349487a7bc8f2.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-0bbe00ccedc29eab.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>接着开启 workflow 。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-b06639ef912c4598.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>执行 workflow 测试下。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-20d5cc4add60f94e.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>执行成功。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-61cc163270d4822f.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>看下执行结果日志。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-5bab666d00f149c8.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br></pre></td><td class="code"><pre><span class="line">[<span class="number">18</span>:<span class="number">50</span>:<span class="number">58</span> INF] -----开始每日任务-----</span><br><span class="line">[<span class="number">18</span>:<span class="number">50</span>:<span class="number">58</span> INF] ---开始【登录】---</span><br><span class="line">[<span class="number">18</span>:<span class="number">50</span>:<span class="number">59</span> INF] 登录成功，用户名: 苏**惑</span><br><span class="line">[<span class="number">18</span>:<span class="number">50</span>:<span class="number">59</span> INF] 硬币余额: <span class="number">339</span></span><br><span class="line">[<span class="number">18</span>:<span class="number">50</span>:<span class="number">59</span> INF] 距离升级到Lv4还有: <span class="number">4</span>天</span><br><span class="line">[<span class="number">18</span>:<span class="number">50</span>:<span class="number">59</span> INF] ---【登录】结束---</span><br><span class="line"></span><br><span class="line">[<span class="number">18</span>:<span class="number">50</span>:<span class="number">59</span> INF] ---开始【观看、分享视频】---</span><br><span class="line">[<span class="number">18</span>:<span class="number">50</span>:<span class="number">59</span> INF] 今天已经观看过了，不需要再看啦</span><br><span class="line">[<span class="number">18</span>:<span class="number">50</span>:<span class="number">59</span> INF] 今天已经分享过了，不要再分享啦</span><br><span class="line">[<span class="number">18</span>:<span class="number">50</span>:<span class="number">59</span> INF] ---【观看、分享视频】结束---</span><br><span class="line"></span><br><span class="line">[<span class="number">18</span>:<span class="number">50</span>:<span class="number">59</span> INF] ---开始【投币】---</span><br><span class="line">[<span class="number">18</span>:<span class="number">51</span>:<span class="number">00</span> INF] 今日已投<span class="number">5</span>枚硬币，目标是投<span class="number">5</span>枚硬币</span><br><span class="line">[<span class="number">18</span>:<span class="number">51</span>:<span class="number">00</span> INF] 已完成投币任务，今天不需要再投啦</span><br><span class="line">[<span class="number">18</span>:<span class="number">51</span>:<span class="number">00</span> INF] ---【投币】结束---</span><br><span class="line"></span><br><span class="line">[<span class="number">18</span>:<span class="number">51</span>:<span class="number">00</span> INF] ---开始【漫画签到】---</span><br><span class="line">[<span class="number">18</span>:<span class="number">51</span>:<span class="number">03</span> INF] 今日已签到过，无法重复签到</span><br><span class="line">[<span class="number">18</span>:<span class="number">51</span>:<span class="number">03</span> INF] ---【漫画签到】结束---</span><br><span class="line"></span><br><span class="line">[<span class="number">18</span>:<span class="number">51</span>:<span class="number">03</span> INF] ---开始【直播中心签到】---</span><br><span class="line">[<span class="number">18</span>:<span class="number">51</span>:<span class="number">04</span> INF] 直播签到成功，本次签到获得<span class="number">3000</span>点用户经验,<span class="number">2</span>根辣条,再签到<span class="number">4</span>天可以获得<span class="number">666</span>银瓜子</span><br><span class="line">[<span class="number">18</span>:<span class="number">51</span>:<span class="number">04</span> INF] ---【直播中心签到】结束---</span><br></pre></td></tr></table></figure></p>
<p>然后加个微信通知  ，这样方便微信看每天执行的结果，新建个secrets  <code>OTHERCONFIGS</code>  ，值为 <a href="http://sc.ftqq.com/3.version" target="_blank" rel="noopener">http://sc.ftqq.com/3.version</a> 生成的秘钥  ，再次测试下，微信收到通知。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-8c83201586db0971.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>点击查看详情，跟上面看的日志一样。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-48bf3aae3ce5725d.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>整体测试下来没问题，再加个定时执行任务，这样就不用管了，每天自动刷经验值， 打开文件 .github/workflows/bilibili-daily-task.yml 修改定时时间，我这里改为每天8点20（需要注意这个是UTC时间，跟北京时间差8小时），也是我发文章的时间。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-15e98e08b32a8ac8.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>如果你没有GitHub账号，或者对这个不熟悉也可以下载软件在本地运行刷经验值。</p>
<h3 id="本地运行"><a href="#本地运行" class="headerlink" title="本地运行"></a>本地运行</h3><p>先下载软件（由于国外网站比较慢，我已经下载好了 ，公众号后台回复 <code>b站</code> 获取软件），然后修改配置文件 <code>appsettings.json</code> 的cookie值。<br><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line"><span class="string">"BiliBiliCookie"</span>: &#123;</span><br><span class="line">    <span class="string">"UserId"</span>: <span class="string">"xxx"</span>,  </span><br><span class="line">    <span class="string">"SessData"</span>: <span class="string">"xxx"</span>,  </span><br><span class="line">    <span class="string">"BiliJct"</span>: <span class="string">"xxx"</span> </span><br><span class="line">  &#125;,</span><br></pre></td></tr></table></figure></p>
<p>Windows下直接运行 Ray.BiliBiliTool.Console.exe ，我的账号距离升级到Lv4还有4天了。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-e5e650a5caada59c.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>如果需要修改每日投币数量，投币时是否同时点赞，优先选择支持的up主，每月几号自动充电，每月几号自动领取会员权益可以参考 <a href="https://github.com/RayWangQvQ/BiliBiliTool.Docs/blob/main/configuration.md" target="_blank" rel="noopener">https://github.com/RayWangQvQ/BiliBiliTool.Docs/blob/main/configuration.md</a> 添加secrets 即可。</p>
<p>最后提示下，由于cookie有个有效期，如果过期了需要手动更改下，还有这个跟刷网易云音乐那个不一样 <a href="https://mp.weixin.qq.com/s/0EbycloxlbwRQkhViL8sVA" target="_blank" rel="noopener">每天自动打卡听歌300首</a> ，不支持多账号，我就没法帮你刷了。</p>
<h3 id="公众号-苏生不惑"><a href="#公众号-苏生不惑" class="headerlink" title="公众号 苏生不惑"></a>公众号 苏生不惑</h3><p> <img src="https://upload-images.jianshu.io/upload_images/17817191-6e0079f95d4c0338.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="扫描二维码关注或搜索微信susheng_buhuo"></p>

          
        
      
    </div>
    
    
    

    

    

    

    <footer class="post-footer">
      

      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </div>
  
  
  
  </article>


    
      

  

  
  
  

  <article class="post post-type-normal" itemscope="" itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2020/11/20/歌单助手：一键导出网易云音乐歌单列表，推荐你喜爱的专辑/">

    <span hidden itemprop="author" itemscope="" itemtype="http://schema.org/Person">
      <meta itemprop="name" content="苏生不惑">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="苏生不惑的博客">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
                
                <a class="post-title-link" href="/2020/11/20/歌单助手：一键导出网易云音乐歌单列表，推荐你喜爱的专辑/" itemprop="url">歌单助手：一键导出网易云音乐歌单列表，推荐你喜爱的专辑</a></h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2020-11-20T18:40:08+08:00">
                2020-11-20
              </time>
            

            

            
          </span>

          

          
            
          

          
          

          

          
            <div class="post-wordcount">
              
                
                  <span class="post-meta-divider">|</span>
                
                <span class="post-meta-item-icon">
                  <i class="fa fa-file-word-o"></i>
                </span>
                
                  <span class="post-meta-item-text">字数统计&#58;</span>
                
                <span title="字数统计">
                  800 字
                </span>
              

              
                <span class="post-meta-divider">|</span>
              

              
                <span class="post-meta-item-icon">
                  <i class="fa fa-clock-o"></i>
                </span>
                
                  <span class="post-meta-item-text">阅读时长 &asymp;</span>
                
                <span title="阅读时长">
                  2 分钟
                </span>
              
            </div>
          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <blockquote>
<p>苏生不惑第191 篇原创文章，将本公众号设为<code>星标</code>，第一时间看最新文章。</p>
</blockquote>
<p>关于网易云音乐之前写过很多文章了，有兴趣可以点击阅读：</p>
<p><a href="https://mp.weixin.qq.com/s/LtI2piwAIDXA590NEsXvuw" target="_blank" rel="noopener">那些你可能不知道的网易云音乐奇技淫巧</a></p>
<p><a href="https://mp.weixin.qq.com/s/WSSddtoCJkW9kJVwkGh0nQ" target="_blank" rel="noopener">不想下载那么多音乐软件？全网音乐在线听和下载</a></p>
<p><a href="https://mp.weixin.qq.com/s/3rB23e9L55hDBaPLDu6WMg" target="_blank" rel="noopener">如何轻松下载腾讯/微博/优酷/爱奇艺/b站等全网视频？</a></p>
<p><a href="https://mp.weixin.qq.com/s/0EbycloxlbwRQkhViL8sVA" target="_blank" rel="noopener">网易云音乐等级快速升级：每天自动打卡听歌300首</a></p>
<p><a href="https://mp.weixin.qq.com/s/BSfjFnv54EAHmc6eE75T9g" target="_blank" rel="noopener">一键解锁网易云音乐变灰歌曲</a></p>
<p> 文章开始前说下，昨天的抽奖还在进行，有兴趣可以去抽个奖，祝你好运 <a href="https://mp.weixin.qq.com/s/EVOKuUdxy5Nh3T5Guglk6Q" target="_blank" rel="noopener">周末发个红包抽奖福利</a></p>
<p>不知道网易云音乐的热门推荐是根据什么来做的，感觉跟我的听歌调性不大符合。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-566b1753c7e05529.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>最近发现个软件歌单助手，可以对多个平台（目前有网易云音乐和虾米音乐）的歌单进行备份导出、分析都自己听过些啥，热爱什么艺术家，给你推荐可能感兴趣的音乐专辑，我感觉还是挺搭调的。</p>
<h3 id="歌单助手"><a href="#歌单助手" class="headerlink" title="歌单助手"></a>歌单助手</h3><p>首先从官网 <a href="https://music.wechatsync.com/" target="_blank" rel="noopener">https://music.wechatsync.com/</a> 下载最新版安装到本地，同时还要下载网易云音乐或者虾米客户端。</p>
<p>网易云音乐会在 C:\Users\xxx\AppData\Local\Netease\CloudMusic\Library 生成webdb.dat文件，这个工具就是从这个文件里读取数据的，这个文件可以用sqlite打开 。<br><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line">sqlite3</span><br><span class="line">sqlite&gt; .open webdb.dat</span><br><span class="line">sqlite&gt; .database</span><br><span class="line">main: d:\download\webdb.dat</span><br><span class="line">sqlite&gt; .tables</span><br><span class="line">web_cloud_track     web_offline_track   web_playlist_order  web_track</span><br><span class="line">web_map             web_playlist        web_playlist_track  web_user_playlist</span><br><span class="line">sqlite&gt; select * <span class="keyword">from</span> web_track;</span><br></pre></td></tr></table></figure></p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-d21b59b2138779f3.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>我的歌单里只有2首周杰伦的。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-a4dd457cc99d9534.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>启动软件后点击导入。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-aea7c04a4f0b7f4f.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>发现2首歌。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-6324185f4d2febb6.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>成功导入。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-7e473e300cfb6a6b.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>你可以将歌单导出到Excel文件。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-b234b962fd84051d.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>目前没有删除机制，如果删除歌单可以手动删除文件 C:\Users\xxx\allmusic.db  重启后导入就正常了。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-c5746a6f56e9ab8f.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>点击发现音乐或者安装Chrome插件使用网页版 <a href="https://music.wechatsync.com/explore/" target="_blank" rel="noopener">https://music.wechatsync.com/explore/</a>  ，基于近期的收藏列表推荐的都是周杰伦专辑 。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-c43fc59bd1f17a85.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>之前分享过音乐下载工具<a href="https://mp.weixin.qq.com/s/WSSddtoCJkW9kJVwkGh0nQ" target="_blank" rel="noopener">不想下载那么多音乐软件？全网音乐在线听和下载</a> ，最近又发现几个，也推荐下。</p>
<h3 id="音乐下载工具"><a href="#音乐下载工具" class="headerlink" title="音乐下载工具"></a>音乐下载工具</h3><p>52小菜鸟，支持多平台vip音乐查询下载（公众号后台回复 <code>音乐</code> 获取软件） <a href="https://wwx.lanzoux.com/ifSzfhtkned" target="_blank" rel="noopener">https://wwx.lanzoux.com/ifSzfhtkned</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-b66361ba846962d1.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br><img src="https://upload-images.jianshu.io/upload_images/23152173-62e6d16ded2dcdea.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br> 酷我音乐解析器，可在线播放下载 <a href="https://wwx.lanzoux.com/iu7uYhtkyhc" target="_blank" rel="noopener">https://wwx.lanzoux.com/iu7uYhtkyhc</a></p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-feda5847d5ed4c2e.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-7fb449df909f68df.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>如果你是在网易云音乐或QQ音乐上下载的歌曲，由于被加密了无法用普通播放器打开，推荐音乐解锁神器Unlock music <a href="https://ix64.github.io/unlock-music/" target="_blank" rel="noopener">https://ix64.github.io/unlock-music/</a> ，<a href="http://tool.moresound.tk/" target="_blank" rel="noopener">http://tool.moresound.tk/</a> ，可以轻松移除 QQ 音乐、网易云音乐等音乐软件的加密付费音乐，目前支持文件格式有网易云音乐(ncm), QQ音乐(qmc, mflac, mgg), 酷狗音乐(kgm), 虾米音乐(xm), 酷我音乐(.kwm) 。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-ddf14efabab999f8.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>也可以使用客户端软件转换。<br><img src="https://upload-images.jianshu.io/upload_images/17817191-bdacc1a4afa529bc.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>最后分享个网站 <a href="https://music.sl1673495.now.sh/#/discovery，它把网易云" target="_blank" rel="noopener">https://music.sl1673495.now.sh/#/discovery，它把网易云</a> mac 客户端搬到网页上  。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-44cf241a01e3907a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="公众号-苏生不惑"><a href="#公众号-苏生不惑" class="headerlink" title="公众号 苏生不惑"></a>公众号 苏生不惑</h3><p> <img src="https://upload-images.jianshu.io/upload_images/17817191-6e0079f95d4c0338.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="扫描二维码关注或搜索微信susheng_buhuo"></p>

          
        
      
    </div>
    
    
    

    

    

    

    <footer class="post-footer">
      

      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </div>
  
  
  
  </article>


    
      

  

  
  
  

  <article class="post post-type-normal" itemscope="" itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2020/11/06/不会-Python-没关系，手把手教你用-web-scraper-抓取豆瓣电影-top-250-和-b-站排行榜/">

    <span hidden itemprop="author" itemscope="" itemtype="http://schema.org/Person">
      <meta itemprop="name" content="苏生不惑">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="苏生不惑的博客">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
                
                <a class="post-title-link" href="/2020/11/06/不会-Python-没关系，手把手教你用-web-scraper-抓取豆瓣电影-top-250-和-b-站排行榜/" itemprop="url">不会 Python 没关系，手把手教你用 web scraper 抓取豆瓣电影 top 250 和 b 站排行榜</a></h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2020-11-06T19:13:34+08:00">
                2020-11-06
              </time>
            

            

            
          </span>

          

          
            
          

          
          

          

          
            <div class="post-wordcount">
              
                
                  <span class="post-meta-divider">|</span>
                
                <span class="post-meta-item-icon">
                  <i class="fa fa-file-word-o"></i>
                </span>
                
                  <span class="post-meta-item-text">字数统计&#58;</span>
                
                <span title="字数统计">
                  1.9k 字
                </span>
              

              
                <span class="post-meta-divider">|</span>
              

              
                <span class="post-meta-item-icon">
                  <i class="fa fa-clock-o"></i>
                </span>
                
                  <span class="post-meta-item-text">阅读时长 &asymp;</span>
                
                <span title="阅读时长">
                  8 分钟
                </span>
              
            </div>
          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <blockquote>
<p>苏生不惑第190 篇原创文章，将本公众号设为<code>星标</code>，第一时间看最新文章。</p>
</blockquote>
<p>关于Python之前分享过很多文章了：</p>
<p><a href="https://mp.weixin.qq.com/s/DwFv-Ry680gdT1yQAJ-u8g" target="_blank" rel="noopener">Python 抓取知乎电影话题下万千网友推荐的电影，这个国庆节不愁没电影看了</a></p>
<p> <a href="https://mp.weixin.qq.com/s/Y-zItsbQ0XrxcClvUilarQ" target="_blank" rel="noopener">王菲k歌又上微博热搜，Python分析下微博网友评论</a> </p>
<p><a href="https://mp.weixin.qq.com/s/oSvtFuH2_RYn_AE10x8iSQ" target="_blank" rel="noopener">如何批量下载知乎回答图片</a></p>
<p> <a href="https://mp.weixin.qq.com/s/AD7RAJm8p30LMdrgjy1CVw" target="_blank" rel="noopener">如何发一条九宫格图片的朋友圈</a></p>
<p> <a href="https://mp.weixin.qq.com/s/UhLx4cjkfNVsdUyod7te0g" target="_blank" rel="noopener">一键批量下载抖音无水印视频</a></p>
<p><a href="https://mp.weixin.qq.com/s/sBK_NkSnS3qTOnajl6Y94Q" target="_blank" rel="noopener">一键下载公众号所有文章，导出文件支持PDF，HTML，Markdown，Excel，chm等格式</a></p>
<p><a href="https://mp.weixin.qq.com/s/PnGaI1GkMABPCI7UXDRA1A" target="_blank" rel="noopener">七夕又来了，给女朋友做个动态二维码</a></p>
<p><a href="https://mp.weixin.qq.com/s/PlkPDmK2SUdQT59CzOJFMA" target="_blank" rel="noopener">一键备份微博并导出生成PDF，顺便用Python分析微博账号数据</a></p>
<p>如果要抓取数据，一般使用Python是很方便的，不过如果你还不会推荐使用Chrome扩展 web scraper，下面就分别用Python和 web scraper 抓取豆瓣电影top 250 和b站排行榜的数据。</p>
<h3 id="Python-抓取豆瓣电影"><a href="#Python-抓取豆瓣电影" class="headerlink" title="Python 抓取豆瓣电影"></a>Python 抓取豆瓣电影</h3><p>打开豆瓣电影top 250 主页 <a href="https://movie.douban.com/top250" target="_blank" rel="noopener">https://movie.douban.com/top250</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-d752e7084bc65fc5.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>我们需要抓取电影标题，排行，评分，和简介，python  抓取数据的步骤一般为请求网页，解析网页，提取数据和保存数据，下面是一段简单的Python代码。<br><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">import</span> requests</span><br><span class="line"><span class="keyword">import</span> re</span><br><span class="line"><span class="keyword">import</span> os</span><br><span class="line"><span class="keyword">from</span> hashlib <span class="keyword">import</span> md5</span><br><span class="line"><span class="keyword">from</span> requests.exceptions <span class="keyword">import</span> RequestException</span><br><span class="line"><span class="keyword">import</span> bs4</span><br><span class="line"><span class="keyword">from</span> requests <span class="keyword">import</span> RequestException</span><br><span class="line"><span class="keyword">from</span> selenium <span class="keyword">import</span> webdriver</span><br><span class="line"><span class="keyword">import</span> time</span><br><span class="line"><span class="keyword">from</span> matplotlib <span class="keyword">import</span> pyplot <span class="keyword">as</span> plt</span><br><span class="line"><span class="keyword">import</span> re</span><br><span class="line"><span class="keyword">from</span> wordcloud <span class="keyword">import</span> WordCloud</span><br><span class="line"><span class="keyword">import</span> jieba</span><br><span class="line"><span class="keyword">import</span> pandas <span class="keyword">as</span> pd</span><br><span class="line"></span><br><span class="line">def request_url(url):</span><br><span class="line">    headers = &#123;</span><br><span class="line">        <span class="string">'Referer'</span>: <span class="string">'https://movie.douban.com'</span>,</span><br><span class="line">        <span class="string">'Host'</span>: <span class="string">'movie.douban.com'</span>,</span><br><span class="line">        <span class="string">'User-Agent'</span>: <span class="string">'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36'</span></span><br><span class="line">    &#125;</span><br><span class="line">    response = requests.get(url, headers=headers)</span><br><span class="line">    <span class="keyword">return</span> response.text</span><br><span class="line">def movie_info(html):</span><br><span class="line">    data = []</span><br><span class="line">    soup = bs4.BeautifulSoup(html, <span class="string">'html.parser'</span>)</span><br><span class="line">    items = soup.select(<span class="string">'li &gt; div.item'</span>)</span><br><span class="line">    <span class="keyword">for</span> item <span class="keyword">in</span> items:</span><br><span class="line">        desc_item = item.select(<span class="string">'div.info &gt; div.bd &gt; p.quote &gt; span'</span>)</span><br><span class="line">        desc = <span class="string">''</span></span><br><span class="line">        <span class="keyword">if</span> desc_item is not None and len(desc_item) &gt; <span class="number">0</span>:</span><br><span class="line">        	desc = desc_item[<span class="number">0</span>].text</span><br><span class="line">        data.append(&#123;</span><br><span class="line">        	<span class="string">'url'</span>:item.select(<span class="string">'div.info &gt; div.hd &gt; a'</span>)[<span class="number">0</span>][<span class="string">'href'</span>],</span><br><span class="line">        	<span class="string">'title'</span>:item.select(<span class="string">'div.info &gt; div.hd &gt; a &gt; span'</span>)[<span class="number">0</span>].text,</span><br><span class="line">            <span class="string">'rank'</span>:item.select(<span class="string">'div.pic &gt; em'</span>)[<span class="number">0</span>].text,</span><br><span class="line">            <span class="string">'score'</span>:item.select(<span class="string">'div.info &gt; div.bd &gt; div.star &gt; span.rating_num'</span>)[<span class="number">0</span>].text,</span><br><span class="line">            <span class="string">'desc'</span>:desc,</span><br><span class="line">        	&#125;)#&#123;'url': 'https://movie.douban.com/subject/1292052/', 'title': '肖申克的救赎', 'rank': '1', 'score':</span><br><span class="line"> <span class="string">'9.7'</span>, <span class="string">'desc'</span>: <span class="string">'希望让人自由。'</span>&#125;</span><br><span class="line">    <span class="keyword">return</span> data</span><br><span class="line"></span><br><span class="line"><span class="keyword">if</span> __name__ == <span class="string">'__main__'</span>:</span><br><span class="line">    urls = [<span class="string">'https://movie.douban.com/top250?start=&#123;0&#125;&amp;filter='</span>.format(i * <span class="number">25</span>) <span class="keyword">for</span> i <span class="keyword">in</span> range(<span class="number">10</span>)]</span><br><span class="line">    movie_list = [request_url(url) <span class="keyword">for</span> url <span class="keyword">in</span> urls]</span><br><span class="line">    movie_list = []</span><br><span class="line">    <span class="keyword">for</span> url <span class="keyword">in</span> urls:</span><br><span class="line">    	movie_list.append(request_url(url))</span><br><span class="line">    	time.sleep(<span class="number">1</span>)</span><br><span class="line">    movie_url_list = [movie_info(movie) <span class="keyword">for</span> movie <span class="keyword">in</span> movie_list]</span><br><span class="line">    data = []</span><br><span class="line">    <span class="keyword">for</span> j <span class="keyword">in</span> movie_url_list:</span><br><span class="line">    	<span class="keyword">for</span> k <span class="keyword">in</span> j:</span><br><span class="line">    		data.append(k)</span><br><span class="line">    print(data)</span><br><span class="line">    df = pd.DataFrame(data)</span><br><span class="line">    df.to_csv(<span class="string">"douban_movies.csv"</span>,encoding=<span class="string">"utf_8_sig"</span>,index=False)</span><br></pre></td></tr></table></figure></p>
<p>执行 Python 脚本后会生成一个CSV文件，不过有些电影没有简介 ，比如周星驰的《九品芝麻官》<a href="https://movie.douban.com/subject/1297518/" target="_blank" rel="noopener">https://movie.douban.com/subject/1297518/</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-1ce2348db3202048.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="web-scraper-抓取豆瓣电影"><a href="#web-scraper-抓取豆瓣电影" class="headerlink" title="web scraper 抓取豆瓣电影"></a>web scraper 抓取豆瓣电影</h3><p>这是一款免费的Chrome扩展，只要建立sitemap即可抓取相应的数据，无需写代码即可抓取95%以上的网站数据（比如博客列表，知乎回答，微博评论等）， Chrome扩展地址 <a href="https://chrome.google.com/webstore/detail/web-scraper-free-web-scra/jnhgnonknehpejjnehehllkliplmbmhn" target="_blank" rel="noopener">https://chrome.google.com/webstore/detail/web-scraper-free-web-scra/jnhgnonknehpejjnehehllkliplmbmhn</a> ，如果你上不了谷歌在公众号后台回复 <code>Python</code> 获取我下载好的crx文件，先改文件名后缀为<code>.rar</code>，解压到一个目录中，然后加载已解压的扩展程序即可安装成功。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-9794451e95b6e812.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>使用web scraper抓取数据步骤为 创建 sitemap，新建 selector （抓取规则），启动抓取程序，导出 csv文件 。</p>
<p>打开谷歌浏览器控制台，可以看到多了个web scraper 标签，下面有sitemaps，sitemap，create new sitemap ，点击create新建一个爬虫抓取任务。</p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-ff2e48811b601dcd.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>豆瓣电影的分页链接为 <a href="https://movie.douban.com/top250?start=0&amp;filter=，共10页，所以URL填入" target="_blank" rel="noopener">https://movie.douban.com/top250?start=0&amp;filter=，共10页，所以URL填入</a> <a href="https://movie.douban.com/top250?start=[0-250:25]&amp;filter=" target="_blank" rel="noopener">https://movie.douban.com/top250?start=[0-250:25]&amp;filter=</a>  ，name随意填一个。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-471aded357fb1747.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>然后点击add new selector 添加新的选择器。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-3fafb4fa41267086.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>给id起个名，type为 element ，点击 select 选中第一部电影《肖申克的救赎》，可以看到网页标红了。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-3cb9d70a60bcb07e.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>然后再选择第二条，可以看到下面的电影都选中了，点击 done selecting 就好了。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-685ce0272e1e032b.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>ps：抓取到的选择器其实就是css结构，右键copy selector也可以看到。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-039d8cedebe19837.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>接着点击 element preview 预览下可以看到电影元素都抓取到了，因为一页有多部电影还要选中  Multiple 。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-4b54ca0eecf16e63.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>然后进入刚才建的 element 里新加选择器。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-9b02903c70dffe18.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>共有5个选择器，分别为电影名，豆瓣链接，电影排名，电影简介，豆瓣评分。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-2089427651cad4a3.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>可以预览下新建的电影名选择器看看效果。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-5e5684233c5d3ece.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p> 点击selector graph 可以看到抓取的选择器关系图。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-2ab374b2ace19c27.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>选择器都建好后点击 scrape 开始抓取数据了。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-80470c8c5957f7df.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br><img src="https://upload-images.jianshu.io/upload_images/23152173-ff284b6f58be9472.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>浏览器自动弹出窗口抓取数据，不用管它，抓取完后它会自动关闭。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-768942cb88a0ceb5.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>很快抓取完了。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-8b0a28cbc0146f1d.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>再预览下抓取的数据是否正常。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-3a4c5aaca22fac77.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>确认没问题后点击 export data as CSV 导出CSV文件。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-ef90ca2293b7a137.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>打开生成的CSV文件，可以看到抓取的电影排序乱了。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-695151dcbad776ac.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>没关系，选中电影排名这列，选择升序排列。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-c80a28006beddf88.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>最后抓取的250条豆瓣电影数据结果就是这样了。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-3aa889ffd2854df1.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>最后可以export sitemap 导出这个爬虫任务，是个json格式字符串，你可以直接复制我这个导入直接抓取豆瓣电影数据。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-57ae1f634a3d3c88.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">&#123;<span class="string">"_id"</span>:<span class="string">"douban"</span>,<span class="string">"startUrl"</span>:[<span class="string">"https://movie.douban.com/top250?start=[0-250:25]&amp;filter="</span>],<span class="string">"selectors"</span>:[&#123;<span class="string">"id"</span>:<span class="string">"row"</span>,<span class="string">"type"</span>:<span class="string">"SelectorElement"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"_root"</span>],<span class="string">"selector"</span>:<span class="string">".grid_view li"</span>,<span class="string">"multiple"</span>:<span class="literal">true</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"电影名"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"row"</span>],<span class="string">"selector"</span>:<span class="string">"span.title"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"豆瓣链接"</span>,<span class="string">"type"</span>:<span class="string">"SelectorLink"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"row"</span>],<span class="string">"selector"</span>:<span class="string">".hd a"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"电影排名"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"row"</span>],<span class="string">"selector"</span>:<span class="string">"em"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"电影简介"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"row"</span>],<span class="string">"selector"</span>:<span class="string">"span.inq"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"豆瓣评分"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"row"</span>],<span class="string">"selector"</span>:<span class="string">"span.rating_num"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;]&#125;</span><br></pre></td></tr></table></figure>
<p>使用 web scraper 抓取数据就是这么简单，不用写代码也能轻松完成抓取任务，不过第一次操作还是有点难，尤其对不熟悉网页结构的小伙伴，之后有空我录制一个视频方便大家自己操作下（有问题文末评论或者加我微信交流），下面再用 web scraper 抓取b站排行榜 <a href="https://www.bilibili.com/v/popular/rank/all" target="_blank" rel="noopener">https://www.bilibili.com/v/popular/rank/all</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-3abdd826851774b4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>这里抓取视频排名，标题，播放量，弹幕数，up主，点赞数，投币数，收藏数。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-ee130eb8635e49f6.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>其中点赞数，投币数，收藏数在视频链接的二级页。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-e9e4cb694a31c493.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>先预览下抓取的效果。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-9e8f1ac22cade61a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br><img src="https://upload-images.jianshu.io/upload_images/23152173-0c9f8a3852cb5872.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>最后导出的CSV文件。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-eefb9874e5e660af.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>为了方便你抓取，我也提供了json字符串，你可以直接导入抓取。<br> <figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">&#123;<span class="string">"_id"</span>:<span class="string">"bilibili_rank"</span>,<span class="string">"startUrl"</span>:[<span class="string">"https://www.bilibili.com/v/popular/rank/all"</span>],<span class="string">"selectors"</span>:[&#123;<span class="string">"id"</span>:<span class="string">"row"</span>,<span class="string">"type"</span>:<span class="string">"SelectorElement"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"_root"</span>],<span class="string">"selector"</span>:<span class="string">"li.rank-item"</span>,<span class="string">"multiple"</span>:<span class="literal">true</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"视频排名"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"row"</span>],<span class="string">"selector"</span>:<span class="string">"div.num"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"视频标题"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"row"</span>],<span class="string">"selector"</span>:<span class="string">"a.title"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"播放量"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"row"</span>],<span class="string">"selector"</span>:<span class="string">".detail &gt; span:nth-of-type(1)"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"弹幕数"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"row"</span>],<span class="string">"selector"</span>:<span class="string">"span:nth-of-type(2)"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"up主"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"row"</span>],<span class="string">"selector"</span>:<span class="string">"a span"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"视频链接"</span>,<span class="string">"type"</span>:<span class="string">"SelectorLink"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"row"</span>],<span class="string">"selector"</span>:<span class="string">"a.title"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"点赞数"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"视频链接"</span>],<span class="string">"selector"</span>:<span class="string">"span.like"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"投币数"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"视频链接"</span>],<span class="string">"selector"</span>:<span class="string">"span.coin"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;,&#123;<span class="string">"id"</span>:<span class="string">"收藏数"</span>,<span class="string">"type"</span>:<span class="string">"SelectorText"</span>,<span class="string">"parentSelectors"</span>:[<span class="string">"视频链接"</span>],<span class="string">"selector"</span>:<span class="string">"span.collect"</span>,<span class="string">"multiple"</span>:<span class="literal">false</span>,<span class="string">"regex"</span>:<span class="string">""</span>,<span class="string">"delay"</span>:<span class="number">0</span>&#125;]&#125;</span><br></pre></td></tr></table></figure></p>
<h3 id="公众号-苏生不惑"><a href="#公众号-苏生不惑" class="headerlink" title="公众号 苏生不惑"></a>公众号 苏生不惑</h3><p> <img src="https://upload-images.jianshu.io/upload_images/17817191-6e0079f95d4c0338.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="扫描二维码关注或搜索微信susheng_buhuo"></p>

          
        
      
    </div>
    
    
    

    

    

    

    <footer class="post-footer">
      

      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </div>
  
  
  
  </article>


    
      

  

  
  
  

  <article class="post post-type-normal" itemscope="" itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2020/11/06/一键下载中国大学-网易云课堂-慕课网等课程视频和课件/">

    <span hidden itemprop="author" itemscope="" itemtype="http://schema.org/Person">
      <meta itemprop="name" content="苏生不惑">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="苏生不惑的博客">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
                
                <a class="post-title-link" href="/2020/11/06/一键下载中国大学-网易云课堂-慕课网等课程视频和课件/" itemprop="url">一键下载中国大学/网易云课堂/慕课网等课程视频和课件</a></h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2020-11-06T19:11:47+08:00">
                2020-11-06
              </time>
            

            

            
          </span>

          

          
            
          

          
          

          

          
            <div class="post-wordcount">
              
                
                  <span class="post-meta-divider">|</span>
                
                <span class="post-meta-item-icon">
                  <i class="fa fa-file-word-o"></i>
                </span>
                
                  <span class="post-meta-item-text">字数统计&#58;</span>
                
                <span title="字数统计">
                  997 字
                </span>
              

              
                <span class="post-meta-divider">|</span>
              

              
                <span class="post-meta-item-icon">
                  <i class="fa fa-clock-o"></i>
                </span>
                
                  <span class="post-meta-item-text">阅读时长 &asymp;</span>
                
                <span title="阅读时长">
                  3 分钟
                </span>
              
            </div>
          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <blockquote>
<p>苏生不惑第189 篇原创文章，将本公众号设为<code>星标</code>，第一时间看最新文章。</p>
</blockquote>
<p>今天分享几个对学生（或者爱学习的小伙伴）有用的工具。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-abee5899ab1a7366.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="中国大学-MOOC-下载器"><a href="#中国大学-MOOC-下载器" class="headerlink" title="中国大学 MOOC 下载器"></a>中国大学 MOOC 下载器</h3><p>一键下载中国大学 MOOC（icourse163.org）的课程，包括视频、课件、附件和字幕，方便离线观看 <a href="https://github.com/xixixixixiao/mooc-downloader" target="_blank" rel="noopener">https://github.com/xixixixixiao/mooc-downloader</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-2a41beaa30b72a35.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>先登录你的账号。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-f76e16bf0f106e0b.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>勾选下载选项（视频，附件，课件，字幕），输入课程链接，比如这个课程 <a href="https://www.icourse163.org/course/USTB-1206412811" target="_blank" rel="noopener">https://www.icourse163.org/course/USTB-1206412811</a>  ，开始下载。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-dac34030cfca7eb2.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>很快视频和PDF文件都下载好了。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-9b1742a69cc45136.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="学无止下载器"><a href="#学无止下载器" class="headerlink" title="学无止下载器"></a>学无止下载器</h3><p>这个软件支持中国大学，网易云课堂，爱课程，学堂在线，慕课网5大慕课网站的视频课程下载 <a href="https://github.com/PyJun/Mooc_Downloader" target="_blank" rel="noopener">https://github.com/PyJun/Mooc_Downloader</a> ，登录账号后使用命令行形式下载。</p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-95115c88a7038697.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>输入视频课程地址<a href="https://www.icourse163.org/course/USTB-1206412811，不用登录即可下载。" target="_blank" rel="noopener">https://www.icourse163.org/course/USTB-1206412811，不用登录即可下载。</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-c6471c75c671851a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>跟刚才的软件一样下载好了。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-d11c4b9507c74279.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br><img src="https://upload-images.jianshu.io/upload_images/23152173-c4ade738b9047b35.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="刷网课工具"><a href="#刷网课工具" class="headerlink" title="刷网课工具"></a>刷网课工具</h3><p>这个工具支持智慧职教 <a href="https://mooc.icve.com.cn/" target="_blank" rel="noopener">https://mooc.icve.com.cn/</a> ，中国大学慕课<a href="https://www.icourse163.org/" target="_blank" rel="noopener">https://www.icourse163.org/</a> 一键秒刷课（公众号后台回复 <code>学习</code> 获取软件），修改学习时长，查询题库答案。</p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-b1a71d584250e088.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>除了软件还有油猴脚本<a href="https://greasyfork.org/zh-CN/scripts/396813" target="_blank" rel="noopener">https://greasyfork.org/zh-CN/scripts/396813</a> ，关于油猴脚本安装和使用见之前文章 <a href="https://mp.weixin.qq.com/s/4sCwNc4fz7IxlL8XfY95rQ" target="_blank" rel="noopener">实用油猴脚本推荐，让你的谷歌浏览器更强大</a></p>
<p><a href="https://github.com/Avenshy/WELearnToSleep" target="_blank" rel="noopener">https://github.com/Avenshy/WELearnToSleep</a>  这个工具支持随行课堂 <a href="https://welearn.sflep.com" target="_blank" rel="noopener">https://welearn.sflep.com</a> 一键完成课程  。</p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-e0bf57e817879e25.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>它也有对应的油猴脚本 <a href="https://greasyfork.org/scripts/407589" target="_blank" rel="noopener">https://greasyfork.org/scripts/407589</a> ，如果还想做题使用这个脚本 <a href="https://greasyfork.org/zh-CN/scripts/398601" target="_blank" rel="noopener">https://greasyfork.org/zh-CN/scripts/398601</a> ，它能显示随行课堂题目答案，口语&amp;听力参考，支持班级测试，自动答题。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-d5762b9757fc1f75.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>再分享几个学习网站。</p>
<h3 id="学习网站"><a href="#学习网站" class="headerlink" title="学习网站"></a>学习网站</h3><p>国家级精品资源在线开放课程，包括北大、清华、人民大学等共2686门课程<a href="http://www.icourses.cn/cuoc/" target="_blank" rel="noopener">http://www.icourses.cn/cuoc/</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-e461ec5e6a9c4f46.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>库问搜索 ，千万级文献无需注册免费下载 <a href="http://www.koovin.com/" target="_blank" rel="noopener">http://www.koovin.com/</a></p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-ed37d69a2485a2d8.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p> 在线公开课搜索引擎 <a href="http://www.coursade.com/" target="_blank" rel="noopener">http://www.coursade.com/</a> ，目前提供51163门在线课程。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-e25d47f5cd67bb08.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p> 一个完全免费的在线学习网站大学资源网，提供了丰富的学习视频教程 <a href="http://www.dxzy163.com/" target="_blank" rel="noopener">http://www.dxzy163.com/</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-94be77ddbc13eb7f.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>内置了计算机等级考试以及驾照考试的庞大题库网站问题库 <a href="https://questionlib.net/" target="_blank" rel="noopener">https://questionlib.net/</a><br> <img src="https://upload-images.jianshu.io/upload_images/23152173-c514efb1da04bd79.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>便捷的网课查题平台简答题 <a href="http://www.jiandati.com/" target="_blank" rel="noopener">http://www.jiandati.com/</a>  ，类似的还有<a href="https://www.daandaan.com/" target="_blank" rel="noopener">https://www.daandaan.com/</a> ，<a href="https://www.asklib.com/" target="_blank" rel="noopener">https://www.asklib.com/</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-e9ccef9652b56056.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br><img src="https://upload-images.jianshu.io/upload_images/23152173-f5a15d10690b3432.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>一个以外语为主的慕课平台，汇聚了国内外各大高校的优质外语课程 <a href="http://moocs.unipus.cn/" target="_blank" rel="noopener">http://moocs.unipus.cn/</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-d0f329f248906547.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>最后分享几个油猴脚本：</p>
<p>超星网课助手，自动挂机看尔雅MOOC，支持视频、音频、文档、图书自动完成，章节测验自动答题提交，支持自动切换任务点、挂机阅读时长、自动登录等，解除各类功能限制，开放自定义参数  <a href="https://greasyfork.org/zh-CN/scripts/369625" target="_blank" rel="noopener">https://greasyfork.org/zh-CN/scripts/369625</a> </p>
<p> 超星慕课刷课工具，全自动任务,视频倍速秒过,作业考试题库,验证码自动打码 <a href="https://greasyfork.org/zh-CN/scripts/376190" target="_blank" rel="noopener">https://greasyfork.org/zh-CN/scripts/376190</a> </p>
<p>知网下载助手，解析CNKI论文PDF格式下载地址，论文搜索结果页面和硕博论文详述页面的caj格式下载链接替换为pdf格式下载链接，知网空间页面增加pdf格式下载链接 <a href="https://greasyfork.org/zh-CN/scripts/371938" target="_blank" rel="noopener">https://greasyfork.org/zh-CN/scripts/371938</a> </p>
<p>一键下载 SCI 文献  <a href="https://greasyfork.org/en/scripts/370246-sci-hub-button" target="_blank" rel="noopener">https://greasyfork.org/en/scripts/370246-sci-hub-button</a></p>
<p>最近文章：</p>
<p><a href="https://mp.weixin.qq.com/s/tzT1_ft9OT68BX1InnZJiA" target="_blank" rel="noopener">2020年10月福利，小伙伴们来领现金红包</a></p>
<p><a href="https://mp.weixin.qq.com/s/j88qrbHF9k-h7zrgfD87iw" target="_blank" rel="noopener">良心整理：PDF工具合集</a></p>
<p><a href="https://mp.weixin.qq.com/s/pt0hCthceThMZVU0Ht89AA" target="_blank" rel="noopener">2020 最全电子书搜索网站，找电子书不再愁</a></p>
<p><a href="https://mp.weixin.qq.com/s/8MIGBAa3vXGUd8s5xGzIDA" target="_blank" rel="noopener">如何通过电影截图找到电影 </a></p>
<p><a href="https://mp.weixin.qq.com/s/Zjhap47PGpIhQi79gkekCg" target="_blank" rel="noopener">集赞生成器：朋友圈集赞不求人</a></p>
<p><a href="https://mp.weixin.qq.com/s/7rNil_1bvnUwNr3FYy42zg" target="_blank" rel="noopener">2020微信运动一键刷步数，让你重回排行榜第一</a></p>
<p><a href="https://mp.weixin.qq.com/s/_xKibGUuW4g9wQpG4gln9Q" target="_blank" rel="noopener">2020 双 11 京东全民营业一键自动做任务</a></p>
<h3 id="公众号-苏生不惑"><a href="#公众号-苏生不惑" class="headerlink" title="公众号 苏生不惑"></a>公众号 苏生不惑</h3><p> <img src="https://upload-images.jianshu.io/upload_images/17817191-6e0079f95d4c0338.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="扫描二维码关注或搜索微信susheng_buhuo"></p>

          
        
      
    </div>
    
    
    

    

    

    

    <footer class="post-footer">
      

      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </div>
  
  
  
  </article>


    
      

  

  
  
  

  <article class="post post-type-normal" itemscope="" itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2020/11/06/良心整理，PDF处理工具合集/">

    <span hidden itemprop="author" itemscope="" itemtype="http://schema.org/Person">
      <meta itemprop="name" content="苏生不惑">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="苏生不惑的博客">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
                
                <a class="post-title-link" href="/2020/11/06/良心整理，PDF处理工具合集/" itemprop="url">良心整理，PDF处理工具合集</a></h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2020-11-06T19:10:33+08:00">
                2020-11-06
              </time>
            

            

            
          </span>

          

          
            
          

          
          

          

          
            <div class="post-wordcount">
              
                
                  <span class="post-meta-divider">|</span>
                
                <span class="post-meta-item-icon">
                  <i class="fa fa-file-word-o"></i>
                </span>
                
                  <span class="post-meta-item-text">字数统计&#58;</span>
                
                <span title="字数统计">
                  717 字
                </span>
              

              
                <span class="post-meta-divider">|</span>
              

              
                <span class="post-meta-item-icon">
                  <i class="fa fa-clock-o"></i>
                </span>
                
                  <span class="post-meta-item-text">阅读时长 &asymp;</span>
                
                <span title="阅读时长">
                  2 分钟
                </span>
              
            </div>
          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <blockquote>
<p>苏生不惑第188篇原创文章，将本公众号设为<code>星标</code>，第一时间看最新文章。</p>
</blockquote>
<p>之前分享过在线办公神器：</p>
<p><a href="https://mp.weixin.qq.com/s/svhB61sdvgt-epeC9MMFTw" target="_blank" rel="noopener">那些你可能用得上的在线办公神器</a></p>
<p><a href="https://mp.weixin.qq.com/s/esUbhii_ZeruoYp06UMDiQ" target="_blank" rel="noopener">那些你可能用得上的在线办公神器（二）</a></p>
<p>这里再整理下PDF处理工具。</p>
<h3 id="smallpdf"><a href="#smallpdf" class="headerlink" title="smallpdf"></a>smallpdf</h3><p> 功能一应俱全、简单好用的线上 PDF 工具 <a href="https://smallpdf.com/cn" target="_blank" rel="noopener">https://smallpdf.com/cn</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-61588ff5177e70f9.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>这里转换PDF为Word 测试下，使用我之前下载的公众号文章PDF 。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-40f64327121b3222.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-8c7c02ebe008ef8f.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>转换后的Word样式，效果还行，它还提供Chrome扩展插件 <a href="https://chrome.google.com/webstore/detail/smallpdf-edit-compress-an/ohfgljdgelakfkefopgklcohadegdpjf" target="_blank" rel="noopener">https://chrome.google.com/webstore/detail/smallpdf-edit-compress-an/ohfgljdgelakfkefopgklcohadegdpjf</a> ，安装Chrome扩展插件方法见之前文章<a href="https://mp.weixin.qq.com/s/xC9K_z7zpmAIEzUK6s1x3w" target="_blank" rel="noopener">上不了谷歌如何安装 Chrome 扩展？</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-7c0c7e8c396203d9.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>可惜每天只有2次免费使用额度。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-13dd31fa65f8486d.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="addpdf"><a href="#addpdf" class="headerlink" title="addpdf"></a>addpdf</h3><p><a href="https://www.addpdf.cn/" target="_blank" rel="noopener">https://www.addpdf.cn/</a> PDF和Word互转。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-d1ef9ec5c550565f.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>这个转换Word后除了格式有点乱还不错。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-2c9fbdae5d97eeeb.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="pdfcandy"><a href="#pdfcandy" class="headerlink" title="pdfcandy"></a>pdfcandy</h3><p><a href="https://pdfcandy.com/cn/" target="_blank" rel="noopener">https://pdfcandy.com/cn/</a> 免费的在线PDF 编辑器，功能很全，还提供Windows版本。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-e34696cce2b91a3a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="pdf2go"><a href="#pdf2go" class="headerlink" title="pdf2go"></a>pdf2go</h3><p><a href="https://www.pdf2go.com/zh" target="_blank" rel="noopener">https://www.pdf2go.com/zh</a> 免费的在线PDF转换器。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-3c64512f9b74daf8.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="ilovepdf"><a href="#ilovepdf" class="headerlink" title="ilovepdf"></a>ilovepdf</h3><p><a href="https://www.ilovepdf.com/zh-cn" target="_blank" rel="noopener">https://www.ilovepdf.com/zh-cn</a> 完全免费、易于使用的PDF处理工具，功能包括：合并、拆分、压缩、转换、旋转和解锁以及给PDF文件添加水印。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-0419ab54428bb0a1.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="pdf2doc"><a href="#pdf2doc" class="headerlink" title="pdf2doc"></a>pdf2doc</h3><p> <a href="https://pdf2doc.com/zh/" target="_blank" rel="noopener">https://pdf2doc.com/zh/</a>  PDF转换器。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-bd7a4b7947cbce6b.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="easypdf"><a href="#easypdf" class="headerlink" title="easypdf"></a>easypdf</h3><p><a href="https://easypdf.com/cn" target="_blank" rel="noopener">https://easypdf.com/cn</a>  为所有人制作的在线PDF转换器。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-12cccc739a65018e.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="extractpdf"><a href="#extractpdf" class="headerlink" title="extractpdf"></a>extractpdf</h3><p><a href="https://www.extractpdf.com/zh.html" target="_blank" rel="noopener">https://www.extractpdf.com/zh.html</a>  从PDF文件中提取图像，文本和字体。 </p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-85f9e13e5f6871c4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="PDF派"><a href="#PDF派" class="headerlink" title="PDF派"></a>PDF派</h3><p><a href="https://www.pdfpai.com/" target="_blank" rel="noopener">https://www.pdfpai.com/</a> 20个好用的PDF在线工具，完全免费。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-580c9e36432ff961.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="office-converter"><a href="#office-converter" class="headerlink" title="office-converter"></a>office-converter</h3><p><a href="https://cn.office-converter.com/pdf-tools" target="_blank" rel="noopener">https://cn.office-converter.com/pdf-tools</a>  在线文件转换器，所有都是100％免费且易于使用。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-49c06e6fb05398d4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="Ocrall"><a href="#Ocrall" class="headerlink" title="Ocrall"></a>Ocrall</h3><p> <a href="https://www.ocrall.com/convert/" target="_blank" rel="noopener">https://www.ocrall.com/convert/</a>  PDF解密，去水印，转Word，还原率高达99% ，不过有点麻烦，不能在线处理，  需要发邮件给他们，等他们回复你。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-c830daae0ebbecf5.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="simpdf"><a href="#simpdf" class="headerlink" title="simpdf"></a>simpdf</h3><p><a href="https://simpdf.com/" target="_blank" rel="noopener">https://simpdf.com/</a>   简单易用的开源 PDF在线编辑器，可直接在网页上对 PDF 文件进行解析编辑，并保留其文件结构及格式 <a href="https://github.com/shashanoid/Simpdf" target="_blank" rel="noopener">https://github.com/shashanoid/Simpdf</a></p>
<p>把pdf文件上传上去，就可以像word文档一样编辑pdf <a href="https://simpdf.com/editor" target="_blank" rel="noopener">https://simpdf.com/editor</a><br> <img src="https://upload-images.jianshu.io/upload_images/23152173-c4df31e4f6763aa1.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>还有下面这些就不一一介绍了。<br><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br></pre></td><td class="code"><pre><span class="line">http:<span class="comment">//www.alltoall.net/ </span></span><br><span class="line"> https:<span class="comment">//www.hipdf.cn/   </span></span><br><span class="line"> https:<span class="comment">//pdf.to </span></span><br><span class="line"> http:<span class="comment">//tools.pdf24.org/zh/</span></span><br><span class="line"> https:<span class="comment">//topdf.com/zh/ </span></span><br><span class="line">https:<span class="comment">//www.aconvert.com</span></span><br><span class="line">https:<span class="comment">//convertio.co/zh/</span></span><br><span class="line">https:<span class="comment">//lightpdf.com/zh/ </span></span><br><span class="line">https:<span class="comment">//www.pdftoword.com/  </span></span><br><span class="line">https:<span class="comment">//pdf.to/ </span></span><br><span class="line">https:<span class="comment">//www.pdfconverter.com/ </span></span><br><span class="line">https:<span class="comment">//cloudconvert.com/pdf-to-doc</span></span><br></pre></td></tr></table></figure></p>
<p>最后分享3个PDF软件（公众号后台回复 <code>PDF</code> 获取）。</p>
<h3 id="全能PDF工具箱"><a href="#全能PDF工具箱" class="headerlink" title="全能PDF工具箱"></a>全能PDF工具箱</h3><p>免安装，解压即可用，功能有PDF转文本，图片，doc，文档合并，分割，重命名，设置密码，解锁，提取文本，ocr，图片，添加图片，文本。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-d773af9e966b4c3f.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>转换速度也很快，效果也不错。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-ebcbbf5839f4b89b.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="PDF阅读器SumatraPDF"><a href="#PDF阅读器SumatraPDF" class="headerlink" title="PDF阅读器SumatraPDF"></a>PDF阅读器SumatraPDF</h3><p> 这个比较简洁，无广告。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-21c7998e5b6f43f4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>其实也可以使用谷歌浏览器来阅读PDF文件。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-e65b021e1ae89c46.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="万兴PDF专家"><a href="#万兴PDF专家" class="headerlink" title="万兴PDF专家"></a>万兴PDF专家</h3><p>秒会的全能PDF编辑器，免安装使用。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-662cca164a14ce05.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>比如编辑PDF。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-b889241b9fee4964.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="公众号-苏生不惑"><a href="#公众号-苏生不惑" class="headerlink" title="公众号 苏生不惑"></a>公众号 苏生不惑</h3><p> <img src="https://upload-images.jianshu.io/upload_images/17817191-6e0079f95d4c0338.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="扫描二维码关注或搜索微信susheng_buhuo"></p>

          
        
      
    </div>
    
    
    

    

    

    

    <footer class="post-footer">
      

      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </div>
  
  
  
  </article>


    
      

  

  
  
  

  <article class="post post-type-normal" itemscope="" itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2020/10/30/2020-双-11-京东全民营业一键自动做任务/">

    <span hidden itemprop="author" itemscope="" itemtype="http://schema.org/Person">
      <meta itemprop="name" content="苏生不惑">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="苏生不惑的博客">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
                
                <a class="post-title-link" href="/2020/10/30/2020-双-11-京东全民营业一键自动做任务/" itemprop="url">2020 双 11 京东全民营业一键自动做任务</a></h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2020-10-30T19:16:59+08:00">
                2020-10-30
              </time>
            

            

            
          </span>

          

          
            
          

          
          

          

          
            <div class="post-wordcount">
              
                
                  <span class="post-meta-divider">|</span>
                
                <span class="post-meta-item-icon">
                  <i class="fa fa-file-word-o"></i>
                </span>
                
                  <span class="post-meta-item-text">字数统计&#58;</span>
                
                <span title="字数统计">
                  900 字
                </span>
              

              
                <span class="post-meta-divider">|</span>
              

              
                <span class="post-meta-item-icon">
                  <i class="fa fa-clock-o"></i>
                </span>
                
                  <span class="post-meta-item-text">阅读时长 &asymp;</span>
                
                <span title="阅读时长">
                  3 分钟
                </span>
              
            </div>
          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <blockquote>
<p>苏生不惑第188 篇原创文章，将本公众号设为<code>星标</code>，第一时间看最新文章。</p>
</blockquote>
<p>又快到了一年一度的双十一，你是不上班/上课时摸鱼做京东/淘宝的双11任务，分享几个工具帮你解放双手，自动帮你做任务领金币。</p>
<h3 id="自动做任务软件版"><a href="#自动做任务软件版" class="headerlink" title="自动做任务软件版"></a>自动做任务软件版</h3><p>这是一个Windows下的软件 （公众号后台回复 <code>京东</code> 获取），打开软件登录自己的京东账号，可以扫码或者使用cookie登录，我这里用的cookie登录演示，浏览器使用手机模式打开 <a href="http://m.jd.com" target="_blank" rel="noopener">http://m.jd.com</a> 登录京东账号。</p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-b5683fcb1d48cf2f.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br> 复制请求的cookie ，比较长的一段字符。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-b9e2c8daf27fdfde.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-74d9ed96590ffee2.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>登录成功后可以看到你的账号信息。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-024d1900c919bef8.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>点击一键做任务。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-8fdd31cd24355d4b.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>打开京东APP看看（我只做了一部分）。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-4e7b6c9d2d711c2e.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>如果是多账号使用这个软件 。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-1afd290ed7259244.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="自动做任务网页版"><a href="#自动做任务网页版" class="headerlink" title="自动做任务网页版"></a>自动做任务网页版</h3><p>浏览器打开 <a href="http://m.jd.com" target="_blank" rel="noopener">http://m.jd.com</a> 登录京东账号，然后使用手机模式打开活动地址 <a href="https://bunearth.m.jd.com/babelDiy/Zeus/4SJUHwGdUQYgg94PFzjZZbGZRjDd/index.html#/home" target="_blank" rel="noopener">https://bunearth.m.jd.com/babelDiy/Zeus/4SJUHwGdUQYgg94PFzjZZbGZRjDd/index.html#/home</a>  ，打开控制台复制以下代码按回车键执行。<br><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">javascript:!<span class="function"><span class="keyword">function</span>(<span class="params"></span>)</span>&#123;<span class="function"><span class="keyword">function</span> <span class="title">c</span>(<span class="params"></span>)</span>&#123;<span class="keyword">var</span> d=<span class="built_in">document</span>.getElementById(<span class="string">"loadJs"</span>),e=<span class="built_in">document</span>.createElement(<span class="string">"script"</span>);d&amp;&amp;<span class="built_in">document</span>.getElementsByTagName(<span class="string">"head"</span>)[<span class="number">0</span>].removeChild(d),e.id=<span class="string">"loadJs"</span>,e.type=<span class="string">"text/javascript"</span>,e.onerror=<span class="function"><span class="keyword">function</span>(<span class="params"></span>)</span>&#123;<span class="keyword">return</span> b==a.length<span class="number">-1</span>?(alert(<span class="string">"%E5%8A%A0%E8%BD%BD%E5%A4%B1%E8%B4%A5%EF%BC%81%E8%AF%B7%E7%A8%8D%E5%90%8E%E5%86%8D%E5%B0%9D%E8%AF%95%E5%90%A7%EF%BC%81"</span>),<span class="keyword">void</span> <span class="number">0</span>):(b++,c(),<span class="keyword">void</span> <span class="number">0</span>)&#125;,e.src=a,<span class="built_in">document</span>.getElementsByTagName(<span class="string">"head"</span>)[<span class="number">0</span>].appendChild(e)&#125;<span class="keyword">var</span> a=[<span class="string">`https://krapnik.cn/tools/JDCouponAssistant/bundle.js?_=<span class="subst">$&#123;<span class="keyword">new</span> <span class="built_in">Date</span>().getTime()&#125;</span>`</span>],b=<span class="number">0</span>;c()&#125;();</span><br></pre></td></tr></table></figure></p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-1f60ef9105752db3.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>跳转到一个新页面。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-e1d963a250d160a6.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>点击控制台下方按钮 more tools 里选择 network conditions<br> <img src="https://upload-images.jianshu.io/upload_images/23152173-9c77fe6986ac1590.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>点击一键复制User-Agent 填入network conditions 下的 user agent，再次执行刚才的代码。</p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-6ff9823ab02168cd.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p> 然后可以看到每天签到，逛主会场等功能，挨个点击执行任务。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-6d7fbf1d8b1f152d.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br><img src="https://upload-images.jianshu.io/upload_images/23152173-b610bec6e9c317ff.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="自动做任务安卓版"><a href="#自动做任务安卓版" class="headerlink" title="自动做任务安卓版"></a>自动做任务安卓版</h3><p>这个需要安装 auto.js APP ，再导入脚本文件自动做任务，详情见 淘宝+京东双十一活动脚本（微信里文末点击阅读原文查看） <a href="https://github.com/hyue418/taobao-11-11" target="_blank" rel="noopener">https://github.com/hyue418/taobao-11-11</a> ，支持淘宝\支付宝\京东双11任务自动执行，作者提供了下载地址，就是操作有点麻烦。<br> <img src="https://upload-images.jianshu.io/upload_images/23152173-d082c9c3ecc94458.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="京价保Chrome扩展"><a href="#京价保Chrome扩展" class="headerlink" title="京价保Chrome扩展"></a>京价保Chrome扩展</h3><p>如果你经常使用京东，推荐这个帮助你自动申请京东价格保护，自动签到领京豆，自动领取优惠券的chrome拓展<br><a href="https://chrome.google.com/webstore/detail/%E4%BA%AC%E4%BB%B7%E4%BF%9D-%E4%BA%AC%E4%B8%9C%E4%BB%B7%E4%BF%9D%E5%8A%A9%E6%89%8B/gfgkebiommjpiaomalcbfefimhhanlfd" target="_blank" rel="noopener">https://chrome.google.com/webstore/detail/%E4%BA%AC%E4%BB%B7%E4%BF%9D-%E4%BA%AC%E4%B8%9C%E4%BB%B7%E4%BF%9D%E5%8A%A9%E6%89%8B/gfgkebiommjpiaomalcbfefimhhanlfd</a> ，主要功能有：<br><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">自动监控最近订单商品的价格变化，在商品降价时自动申请价格保护</span><br><span class="line">京东商品价格走势图</span><br><span class="line">监控购物车降价</span><br><span class="line">自动签到领取京豆</span><br></pre></td></tr></table></figure></p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-e6fe5fb62645d15b.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br><img src="https://upload-images.jianshu.io/upload_images/23152173-61c561e21449a1e3.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>iPhone12 刚出来，是不很难预约到，分享个Apple Store 预约助手，提供Windows和Mac软件 ，选择门店和型号，点击 添加 到监控列表，匹配到之后会暂停监听，详情见 <a href="https://github.com/hteen/apple-store-helper" target="_blank" rel="noopener">https://github.com/hteen/apple-store-helper</a>  。</p>
<p>最后说下，管住自己的手， 不买就是赚 。</p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-0a058dc5262a673e.gif?imageMogr2/auto-orient/strip" alt="和珅.gif"></p>
<p>最近文章：</p>
<p><a href="https://mp.weixin.qq.com/s/5G4JSV80a50yiD2GruXd5Q" target="_blank" rel="noopener">中秋/国庆节发福利了，小伙伴们来领现金红包</a></p>
<p><a href="https://mp.weixin.qq.com/s/KLRcXA0Z8OlnInwV73n2rQ" target="_blank" rel="noopener">如何让你的搜索更高效</a></p>
<p><a href="https://mp.weixin.qq.com/s/pt0hCthceThMZVU0Ht89AA" target="_blank" rel="noopener">2020 最全电子书搜索网站，找电子书不再愁</a></p>
<p><a href="https://mp.weixin.qq.com/s/8MIGBAa3vXGUd8s5xGzIDA" target="_blank" rel="noopener">如何通过电影截图找到电影 </a></p>
<p><a href="https://mp.weixin.qq.com/s/Zjhap47PGpIhQi79gkekCg" target="_blank" rel="noopener">集赞生成器：朋友圈集赞不求人</a></p>
<p><a href="https://mp.weixin.qq.com/s/3tpmlHua_CFIFSjMhpZjuQ" target="_blank" rel="noopener">2020年10月最新免费加速下载百度网盘文件方法</a></p>
<h3 id="公众号-苏生不惑"><a href="#公众号-苏生不惑" class="headerlink" title="公众号 苏生不惑"></a>公众号 苏生不惑</h3><p> <img src="https://upload-images.jianshu.io/upload_images/17817191-6e0079f95d4c0338.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="扫描二维码关注或搜索微信susheng_buhuo"></p>

          
        
      
    </div>
    
    
    

    

    

    

    <footer class="post-footer">
      

      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </div>
  
  
  
  </article>


    
  </section>

  
  <nav class="pagination">
    <a class="extend prev" rel="prev" href="/page/10/"><i class="fa fa-angle-left"></i></a><a class="page-number" href="/">1</a><span class="space">&hellip;</span><a class="page-number" href="/page/10/">10</a><span class="page-number current">11</span><a class="page-number" href="/page/12/">12</a><span class="space">&hellip;</span><a class="page-number" href="/page/39/">39</a><a class="extend next" rel="next" href="/page/12/"><i class="fa fa-angle-right"></i></a>
  </nav>



          </div>
          


          

        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    
    <div class="sidebar-inner">

      

      

      <section class="site-overview-wrap sidebar-panel sidebar-panel-active">
        <div class="site-overview">
          <div class="site-author motion-element" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
            
              <p class="site-author-name" itemprop="name">苏生不惑</p>
              <p class="site-description motion-element" itemprop="description"></p>
          </div>

          <nav class="site-state motion-element">

            
              <div class="site-state-item site-state-posts">
              
                <a href="/archives/">
              
                  <span class="site-state-item-count">382</span>
                  <span class="site-state-item-name">日志</span>
                </a>
              </div>
            

            

            
              
              
              <div class="site-state-item site-state-tags">
                <a href="/tags/index.html">
                  <span class="site-state-item-count">37</span>
                  <span class="site-state-item-name">标签</span>
                </a>
              </div>
            

          </nav>

          

          
            <div class="links-of-author motion-element">
                
                  <span class="links-of-author-item">
                    <a href="https://github.com/sushengbuhuo" target="_blank" title="GitHub">
                      
                        <i class="fa fa-fw fa-github"></i>GitHub</a>
                  </span>
                
                  <span class="links-of-author-item">
                    <a href="mysusheng@gmail.com" target="_blank" title="E-Mail">
                      
                        <i class="fa fa-fw fa-envelope"></i>E-Mail</a>
                  </span>
                
                  <span class="links-of-author-item">
                    <a href="https://plus.google.com/mysusheng" target="_blank" title="Google">
                      
                        <i class="fa fa-fw fa-google"></i>Google</a>
                  </span>
                
            </div>
          

          
          

          
          
            <div class="links-of-blogroll motion-element links-of-blogroll-block">
              <div class="links-of-blogroll-title">
                <i class="fa  fa-fw fa-link"></i>
                Links
              </div>
              <ul class="links-of-blogroll-list">
                
                  <li class="links-of-blogroll-item">
                    <a href="http://v2ex.com/" title="v2ex" target="_blank">v2ex</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://www.fanhaobai.com/" title="fanhaobai" target="_blank">fanhaobai</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://yuanxuxu.com/archives/" title="yuanxuxu" target="_blank">yuanxuxu</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://www.snail-c.cn/article" title="snail-c" target="_blank">snail-c</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="http://showcj.com/archives" title="showcj" target="_blank">showcj</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="http://vultr.aicnm.com/%E6%9C%80%E6%96%B0Vultr%E6%B3%A8%E5%86%8C%E5%8F%8AVPS%E8%B4%AD%E4%B9%B0%E5%9B%BE%E6%96%87%E6%95%99%E7%A8%8B/" title="vultr" target="_blank">vultr</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://www.lucissfer.com/" title="lucissfer" target="_blank">lucissfer</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://blog.csdn.net/fdipzone/article/details/79352685" title="傲雪星枫" target="_blank">傲雪星枫</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://www.yoby123.cn/index.php/category/default/" title="小白的分享" target="_blank">小白的分享</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://www.cnblogs.com/52fhy/p/5819995.html" title="PHP攻城狮" target="_blank">PHP攻城狮</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://blog.jiaojie.site/" title="php" target="_blank">php</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://sphard.com/archives/" title="sphard" target="_blank">sphard</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://yuanxuxu.com/archives/" title="LNMP技术栈笔记" target="_blank">LNMP技术栈笔记</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="http://www.coding10.com/" title="学习 Laravel" target="_blank">学习 Laravel</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://shuwoom.com/?page_id=929" title="区块链学习指南" target="_blank">区块链学习指南</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://greenlightt.github.io/archives/" title="greenlightt" target="_blank">greenlightt</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://www.0php.net/archives/" title="0php" target="_blank">0php</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="http://www.fordba.com/category/mysql" title="mysql" target="_blank">mysql</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://www.itcodemonkey.com/" title="程序员" target="_blank">程序员</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://www.yanshuo.me/r/v2ex" title="言说" target="_blank">言说</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://www.timiguo.com/archive.html" title="提米果的博客" target="_blank">提米果的博客</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://phpartisan.cn/news/112.html" title="phpartisan" target="_blank">phpartisan</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://www.cnblogs.com/52fhy/" title="飞鸿影" target="_blank">飞鸿影</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="http://www.54php.cn/" title="54php" target="_blank">54php</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://www.lazyman.vip/" title="营销" target="_blank">营销</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://www.njphper.com/archives/" title="做人呢最重要的就是开心" target="_blank">做人呢最重要的就是开心</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://www.h57.pw/" title="php 初心者" target="_blank">php 初心者</a>
                  </li>
                
              </ul>
            </div>
          

          

        </div>
      </section>

      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <script async src="https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>

<div class="copyright">&copy; <span itemprop="copyrightYear">2021</span>
  <span class="with-love">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">苏生不惑</span>

  
</div>


  <div class="powered-by">由 <a class="theme-link" target="_blank" href="https://hexo.io">Hexo</a> 强力驱动</div>



  <span class="post-meta-divider">|</span>



  <div class="theme-info">主题 &mdash; <a class="theme-link" target="_blank" href="https://github.com/iissnan/hexo-theme-next">NexT.Gemini</a> v5.1.4</div>



<div>
<span id="showDays"></span>

</div>

<span id="busuanzi_container_site_pv">
   总访问量:<span id="busuanzi_value_site_pv"></span>次
</span>



  <span class="post-meta-divider">|</span>



<div class="theme-info">
  <div class="powered-by"></div>
  <span class="post-count">博客全站共773.8k字</span>
</div>
<script>
var birthDay = new Date("11/20/2018");
var now = new Date();
var duration = now.getTime() - birthDay.getTime();
var total= Math.floor(duration / (1000 * 60 * 60 * 24));
document.getElementById("showDays").innerHTML = "本站已运行 "+total+" 天";
</script>

        
<div class="busuanzi-count">
  <script async src="https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>

  
    <span class="site-uv">
      <i class="fa fa-user"></i>
      <span class="busuanzi-value" id="busuanzi_value_site_uv"></span>
      人次
    </span>
  

  
    <span class="site-pv">
      <i class="fa fa-eye"></i>
      <span class="busuanzi-value" id="busuanzi_value_site_pv"></span>
      次
    </span>
  
</div>








        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    

    

  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  


  











  
  
    <script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>
  

  
  
    <script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>
  

  
  
    <script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
  

  
  
    <script type="text/javascript" src="/lib/canvas-nest/canvas-nest.min.js"></script>
  


  


  <script type="text/javascript" src="/js/src/utils.js?v=5.1.4"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.1.4"></script>



  
  


  <script type="text/javascript" src="/js/src/affix.js?v=5.1.4"></script>

  <script type="text/javascript" src="/js/src/schemes/pisces.js?v=5.1.4"></script>



  

  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.4"></script>



  


  




	





  





  











<script type="text/javascript">
    (function() {
        // 匿名函数，防止污染全局变量
        var utterances = document.createElement('script');
        utterances.type = 'text/javascript';
        utterances.async = true;
        utterances.setAttribute('issue-term','0')
        utterances.setAttribute('theme','')
        utterances.setAttribute('repo','sushengbuhuo/laravel_ioc_demo')
        utterances.crossorigin = 'anonymous';
        utterances.src = 'https://utteranc.es/client.js';
        // content 是要插入评论的地方
        document.getElementById('gitment-container').appendChild(utterances);
    })();
</script>


  

  <script type="text/javascript">
    // Popup Window;
    var isfetched = false;
    var isXml = true;
    // Search DB path;
    var search_path = "search.xml";
    if (search_path.length === 0) {
      search_path = "search.xml";
    } else if (/json$/i.test(search_path)) {
      isXml = false;
    }
    var path = "/" + search_path;
    // monitor main search box;

    var onPopupClose = function (e) {
      $('.popup').hide();
      $('#local-search-input').val('');
      $('.search-result-list').remove();
      $('#no-result').remove();
      $(".local-search-pop-overlay").remove();
      $('body').css('overflow', '');
    }

    function proceedsearch() {
      $("body")
        .append('<div class="search-popup-overlay local-search-pop-overlay"></div>')
        .css('overflow', 'hidden');
      $('.search-popup-overlay').click(onPopupClose);
      $('.popup').toggle();
      var $localSearchInput = $('#local-search-input');
      $localSearchInput.attr("autocapitalize", "none");
      $localSearchInput.attr("autocorrect", "off");
      $localSearchInput.focus();
    }

    // search function;
    var searchFunc = function(path, search_id, content_id) {
      'use strict';

      // start loading animation
      $("body")
        .append('<div class="search-popup-overlay local-search-pop-overlay">' +
          '<div id="search-loading-icon">' +
          '<i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i>' +
          '</div>' +
          '</div>')
        .css('overflow', 'hidden');
      $("#search-loading-icon").css('margin', '20% auto 0 auto').css('text-align', 'center');

      $.ajax({
        url: path,
        dataType: isXml ? "xml" : "json",
        async: true,
        success: function(res) {
          // get the contents from search data
          isfetched = true;
          $('.popup').detach().appendTo('.header-inner');
          var datas = isXml ? $("entry", res).map(function() {
            return {
              title: $("title", this).text(),
              content: $("content",this).text(),
              url: $("url" , this).text()
            };
          }).get() : res;
          var input = document.getElementById(search_id);
          var resultContent = document.getElementById(content_id);
          var inputEventFunction = function() {
            var searchText = input.value.trim().toLowerCase();
            var keywords = searchText.split(/[\s\-]+/);
            if (keywords.length > 1) {
              keywords.push(searchText);
            }
            var resultItems = [];
            if (searchText.length > 0) {
              // perform local searching
              datas.forEach(function(data) {
                var isMatch = false;
                var hitCount = 0;
                var searchTextCount = 0;
                var title = data.title.trim();
                var titleInLowerCase = title.toLowerCase();
                var content = data.content.trim().replace(/<[^>]+>/g,"");
                var contentInLowerCase = content.toLowerCase();
                var articleUrl = decodeURIComponent(data.url);
                var indexOfTitle = [];
                var indexOfContent = [];
                // only match articles with not empty titles
                if(title != '') {
                  keywords.forEach(function(keyword) {
                    function getIndexByWord(word, text, caseSensitive) {
                      var wordLen = word.length;
                      if (wordLen === 0) {
                        return [];
                      }
                      var startPosition = 0, position = [], index = [];
                      if (!caseSensitive) {
                        text = text.toLowerCase();
                        word = word.toLowerCase();
                      }
                      while ((position = text.indexOf(word, startPosition)) > -1) {
                        index.push({position: position, word: word});
                        startPosition = position + wordLen;
                      }
                      return index;
                    }

                    indexOfTitle = indexOfTitle.concat(getIndexByWord(keyword, titleInLowerCase, false));
                    indexOfContent = indexOfContent.concat(getIndexByWord(keyword, contentInLowerCase, false));
                  });
                  if (indexOfTitle.length > 0 || indexOfContent.length > 0) {
                    isMatch = true;
                    hitCount = indexOfTitle.length + indexOfContent.length;
                  }
                }

                // show search results

                if (isMatch) {
                  // sort index by position of keyword

                  [indexOfTitle, indexOfContent].forEach(function (index) {
                    index.sort(function (itemLeft, itemRight) {
                      if (itemRight.position !== itemLeft.position) {
                        return itemRight.position - itemLeft.position;
                      } else {
                        return itemLeft.word.length - itemRight.word.length;
                      }
                    });
                  });

                  // merge hits into slices

                  function mergeIntoSlice(text, start, end, index) {
                    var item = index[index.length - 1];
                    var position = item.position;
                    var word = item.word;
                    var hits = [];
                    var searchTextCountInSlice = 0;
                    while (position + word.length <= end && index.length != 0) {
                      if (word === searchText) {
                        searchTextCountInSlice++;
                      }
                      hits.push({position: position, length: word.length});
                      var wordEnd = position + word.length;

                      // move to next position of hit

                      index.pop();
                      while (index.length != 0) {
                        item = index[index.length - 1];
                        position = item.position;
                        word = item.word;
                        if (wordEnd > position) {
                          index.pop();
                        } else {
                          break;
                        }
                      }
                    }
                    searchTextCount += searchTextCountInSlice;
                    return {
                      hits: hits,
                      start: start,
                      end: end,
                      searchTextCount: searchTextCountInSlice
                    };
                  }

                  var slicesOfTitle = [];
                  if (indexOfTitle.length != 0) {
                    slicesOfTitle.push(mergeIntoSlice(title, 0, title.length, indexOfTitle));
                  }

                  var slicesOfContent = [];
                  while (indexOfContent.length != 0) {
                    var item = indexOfContent[indexOfContent.length - 1];
                    var position = item.position;
                    var word = item.word;
                    // cut out 100 characters
                    var start = position - 20;
                    var end = position + 80;
                    if(start < 0){
                      start = 0;
                    }
                    if (end < position + word.length) {
                      end = position + word.length;
                    }
                    if(end > content.length){
                      end = content.length;
                    }
                    slicesOfContent.push(mergeIntoSlice(content, start, end, indexOfContent));
                  }

                  // sort slices in content by search text's count and hits' count

                  slicesOfContent.sort(function (sliceLeft, sliceRight) {
                    if (sliceLeft.searchTextCount !== sliceRight.searchTextCount) {
                      return sliceRight.searchTextCount - sliceLeft.searchTextCount;
                    } else if (sliceLeft.hits.length !== sliceRight.hits.length) {
                      return sliceRight.hits.length - sliceLeft.hits.length;
                    } else {
                      return sliceLeft.start - sliceRight.start;
                    }
                  });

                  // select top N slices in content

                  var upperBound = parseInt('1');
                  if (upperBound >= 0) {
                    slicesOfContent = slicesOfContent.slice(0, upperBound);
                  }

                  // highlight title and content

                  function highlightKeyword(text, slice) {
                    var result = '';
                    var prevEnd = slice.start;
                    slice.hits.forEach(function (hit) {
                      result += text.substring(prevEnd, hit.position);
                      var end = hit.position + hit.length;
                      result += '<b class="search-keyword">' + text.substring(hit.position, end) + '</b>';
                      prevEnd = end;
                    });
                    result += text.substring(prevEnd, slice.end);
                    return result;
                  }

                  var resultItem = '';

                  if (slicesOfTitle.length != 0) {
                    resultItem += "<li><a href='" + articleUrl + "' class='search-result-title'>" + highlightKeyword(title, slicesOfTitle[0]) + "</a>";
                  } else {
                    resultItem += "<li><a href='" + articleUrl + "' class='search-result-title'>" + title + "</a>";
                  }

                  slicesOfContent.forEach(function (slice) {
                    resultItem += "<a href='" + articleUrl + "'>" +
                      "<p class=\"search-result\">" + highlightKeyword(content, slice) +
                      "...</p>" + "</a>";
                  });

                  resultItem += "</li>";
                  resultItems.push({
                    item: resultItem,
                    searchTextCount: searchTextCount,
                    hitCount: hitCount,
                    id: resultItems.length
                  });
                }
              })
            };
            if (keywords.length === 1 && keywords[0] === "") {
              resultContent.innerHTML = '<div id="no-result"><i class="fa fa-search fa-5x" /></div>'
            } else if (resultItems.length === 0) {
              resultContent.innerHTML = '<div id="no-result"><i class="fa fa-frown-o fa-5x" /></div>'
            } else {
              resultItems.sort(function (resultLeft, resultRight) {
                if (resultLeft.searchTextCount !== resultRight.searchTextCount) {
                  return resultRight.searchTextCount - resultLeft.searchTextCount;
                } else if (resultLeft.hitCount !== resultRight.hitCount) {
                  return resultRight.hitCount - resultLeft.hitCount;
                } else {
                  return resultRight.id - resultLeft.id;
                }
              });
              var searchResultList = '<ul class=\"search-result-list\">';
              resultItems.forEach(function (result) {
                searchResultList += result.item;
              })
              searchResultList += "</ul>";
              resultContent.innerHTML = searchResultList;
            }
          }

          if ('auto' === 'auto') {
            input.addEventListener('input', inputEventFunction);
          } else {
            $('.search-icon').click(inputEventFunction);
            input.addEventListener('keypress', function (event) {
              if (event.keyCode === 13) {
                inputEventFunction();
              }
            });
          }

          // remove loading animation
          $(".local-search-pop-overlay").remove();
          $('body').css('overflow', '');

          proceedsearch();
        }
      });
    }

    // handle and trigger popup window;
    $('.popup-trigger').click(function(e) {
      e.stopPropagation();
      if (isfetched === false) {
        searchFunc(path, 'local-search-input', 'local-search-result');
      } else {
        proceedsearch();
      };
    });

    $('.popup-btn-close').click(onPopupClose);
    $('.popup').click(function(e){
      e.stopPropagation();
    });
    $(document).on('keyup', function (event) {
      var shouldDismissSearchPopup = event.which === 27 &&
        $('.search-popup').is(':visible');
      if (shouldDismissSearchPopup) {
        onPopupClose();
      }
    });
  </script>





  

  

  

  
  

  

  

  

  
<script>
  ((window.gitter = {}).chat = {}).options = {
    //room替换成自己的聊天室名称即可，room的名称规则是：username/roomname
    room: 'sushengbuhuo-chat/mychat'
  };
</script>
<script src="https://sidecar.gitter.im/dist/sidecar.v1.js" async defer></script>

</body>
</html>
